#3B208F#3B208F
#3B208F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.169 H 285.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3B208F |
|---|---|
| RGB | rgb(59, 32, 143) |
| HSL | hsl(255, 63%, 34%) |
| HSV | hsv(255, 78%, 56%) |
| CMYK | cmyk(58.7%, 77.6%, 0%, 43.9%) |
| CIE-LAB | lab(23.49, 42.09, -56.56) |
| CIE-LCH | lch(23.49, 70.50, 306.65°) |
| OKLab | oklab(35.92% 0.0445 -0.1629) |
| OKLCH | oklch(35.92% 0.169 285.3) |
| XYZ | xyz(7.2766, 3.9456, 26.3594) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.61
Indigo Blue
#3A18B1
ΔE00 4.86
Indigo (survey)
#380282
ΔE00 4.90
Indigo
#4B0082
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B208F #748F20
analogous
#203C8F #3B208F #73208F
triadic
#3B208F #8F3B20 #208F3B
tetradic
#3B208F #8F203C #748F20 #208F73
square
#3B208F #8F203C #748F20 #208F73
split-complementary
#3B208F #8F7320 #3C8F20
monochromatic
#120A2B #26155D #3B208F #502BC1 #7251D8
Accessibility & contrast
On white
11.74
#3B208F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3B208F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B208F
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B208F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B208F | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#0F4056
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3b208f; /* rgb */ color: rgb(59, 32, 143); /* oklch */ color: oklch(35.9% 0.169 285.3);
Tailwind
colors: {
custom: {
50: '#7b5fb1',
500: '#3b208f',
950: '#000000',
},
}SCSS
$custom: #3b208f; $custom-light: #7b5fb1; $custom-dark: #000000;
JSON
{
"hex": "#3b208f",
"rgb": {
"r": 59,
"g": 32,
"b": 143
},
"hsl": {
"h": 254.595,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.35923,
"c": 0.16889,
"h": 285.3
},
"luminance": 0.03946
}Semantic roles & 50–950 ramp
primary
#3B208F
secondary
#A1BB4F
accent
#E641BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980