# #51317f color: Regalia

#51317f is rgb(81, 49, 127) in RGB and oklch(39.346% 0.12712 299.42) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/51317f

## Formats

| Format | Value |
| --- | --- |
| HEX | #51317f |
| RGB | rgb(81, 49, 127) |
| HSL | hsl(264.62, 44.32%, 34.51%) |
| HSB / HSV | hsv(264.62 61.42% 49.8%) |
| HWB | hwb(264.62 19.22% 50.2%) |
| CMYK | cmyk(36% 61% 0% 50%) |
| Lab | lab(27.63 28.27 -39.5) |
| LCH | lch(27.63 48.57 305.59) |
| OKLab | oklab(39.346% 0.06244 -0.11073) |
| OKLCH | oklch(39.346% 0.12712 299.42) |
| Display P3 | color(display-p3 0.29977 0.19781 0.48099) |
| Rec. 2020 | color(rec2020 0.23489 0.14804 0.42642) |
| Adobe RGB | color(a98-rgb 0.29373 0.2052 0.4862) |
| ProPhoto RGB | color(prophoto-rgb 0.25177 0.16933 0.39594) |
| Linear sRGB | color(srgb-linear 0.08228 0.03071 0.21223) |
| XYZ D65 | color(xyz-d65 0.08322 0.05478 0.20698) |
| XYZ D50 | color(xyz-d50 0.07808 0.05319 0.15568) |
| SwiftUI | Color(red: 0.318, green: 0.192, blue: 0.498) |
| UIKit | UIColor(red: 0.318, green: 0.192, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF51317F) |
| Android XML | #51317F |

## Facts

- Closest name: Regalia
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.02:1
- Contrast with black: 2.1:1

## Tints

#51317f, #60458c, #705999, #816da6, #9181b3, #a395c0, #b4aacd, #c7bed9, #d9d4e6, #ece9f2

## Shades

#51317f, #45296e, #3a225d, #2f1a4c, #24133c, #1a0c2d, #10061f, #070311, #020106, #000001

## Tones

#51317f, #50347a, #4e3774, #4d3a6e, #4c3c69, #4b3e63, #4a405e, #494258, #484352, #47454c

## Harmonies

- Complementary: #51317f, #404d00
- Split: #51317f, #5b4200, #00571a
- Analogous: #51317f, #2c3e89, #692666
- Triadic: #51317f, #703200, #005547
- Tetradic: #51317f, #781f44, #404d00, #005547
- Square: #51317f, #7c2118, #404d00, #00525f
- Monochromatic: #51317f, #150030, #320c5b, #7254a5, #9677cc

## Questions about #51317f

### What color is #51317f?

#51317f is soft dark violet. The closest named color is Regalia. In RGB it is rgb(81, 49, 127), in HSL hsl(264.62, 44.32%, 34.51%) and in OKLCH oklch(39.346% 0.12712 299.42).

### What colors go well with #51317f?

The complementary color of #51317f is #404d00. For a calmer combination use the analogous colors #2c3e89 and #692666. The triadic partners are #703200 and #005547.

### Is white or black text more readable on #51317f?

White text reads better on #51317f: white gives a contrast ratio of 10.02:1 and black gives 2.1:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #51317f a warm or cool color?

#51317f is a cool color. In OKLCH its hue is 299 degrees, its lightness 39.3% and its chroma 0.127.
