#56308F#56308F
#56308F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.150 H 297.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #56308F |
|---|---|
| RGB | rgb(86, 48, 143) |
| HSL | hsl(264, 50%, 37%) |
| HSV | hsv(264, 66%, 56%) |
| CMYK | cmyk(39.9%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(29.60, 38.31, -46.46) |
| CIE-LCH | lch(29.60, 60.21, 309.51°) |
| OKLab | oklab(40.97% 0.0698 -0.1324) |
| OKLCH | oklch(40.97% 0.15 297.8) |
| XYZ | xyz(9.8514, 6.0754, 26.6349) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.22
Darkslateblue
#483D8B
ΔE00 5.33
Blueberry
#464196
ΔE00 6.64
Ocean Blue
#4F42B5
ΔE00 7.93
Purple (survey)
#7E1E9C
ΔE00 7.95
Indigo
#4B0082
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56308F #698F30
analogous
#303A8F #56308F #85308F
triadic
#56308F #8F5630 #308F56
tetradic
#56308F #8F303A #698F30 #308F85
square
#56308F #8F303A #698F30 #308F85
split-complementary
#56308F #8F8530 #3A8F30
monochromatic
#1F1133 #3A2161 #56308F #723FBD #936CCE
Accessibility & contrast
On white
9.48
#56308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#56308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56308F
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56308F | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#48465B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #56308f; /* rgb */ color: rgb(86, 48, 143); /* oklch */ color: oklch(41.0% 0.150 297.8);
Tailwind
colors: {
custom: {
50: '#8a6bb0',
500: '#56308f',
950: '#000000',
},
}SCSS
$custom: #56308f; $custom-light: #8a6bb0; $custom-dark: #000000;
JSON
{
"hex": "#56308f",
"rgb": {
"r": 86,
"g": 48,
"b": 143
},
"hsl": {
"h": 264,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.40974,
"c": 0.14968,
"h": 297.8
},
"luminance": 0.06076
}Semantic roles & 50–950 ramp
primary
#56308F
secondary
#95B566
accent
#D94FA2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80