#57308F#57308F
#57308F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.150 H 298.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #57308F |
|---|---|
| RGB | rgb(87, 48, 143) |
| HSL | hsl(265, 50%, 37%) |
| HSV | hsv(265, 66%, 56%) |
| CMYK | cmyk(39.2%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(29.72, 38.53, -46.26) |
| CIE-LCH | lch(29.72, 60.20, 309.79°) |
| OKLab | oklab(41.09% 0.0713 -0.1318) |
| OKLCH | oklch(41.09% 0.15 298.4) |
| XYZ | xyz(9.9441, 6.1232, 26.6393) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.05
Darkslateblue
#483D8B
ΔE00 5.46
Blueberry
#464196
ΔE00 6.77
Purple (survey)
#7E1E9C
ΔE00 7.77
Indigo
#4B0082
ΔE00 7.99
Ocean Blue
#4F42B5
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57308F #688F30
analogous
#30388F #57308F #87308F
triadic
#57308F #8F5730 #308F57
tetradic
#57308F #8F3038 #688F30 #308F87
square
#57308F #8F3038 #688F30 #308F87
split-complementary
#57308F #8F8730 #388F30
monochromatic
#1F1133 #3B2161 #57308F #733FBD #946CCE
Accessibility & contrast
On white
9.44
#57308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#57308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57308F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57308F | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#4A465B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #57308f; /* rgb */ color: rgb(87, 48, 143); /* oklch */ color: oklch(41.1% 0.150 298.4);
Tailwind
colors: {
custom: {
50: '#8b6bb0',
500: '#57308f',
950: '#000000',
},
}SCSS
$custom: #57308f; $custom-light: #8b6bb0; $custom-dark: #000000;
JSON
{
"hex": "#57308f",
"rgb": {
"r": 87,
"g": 48,
"b": 143
},
"hsl": {
"h": 264.632,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.41088,
"c": 0.14981,
"h": 298.4
},
"luminance": 0.06123
}Semantic roles & 50–950 ramp
primary
#57308F
secondary
#94B566
accent
#D94FA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80