#3C136F#3C136F
#3C136F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.145 H 297.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3C136F |
|---|---|
| RGB | rgb(60, 19, 111) |
| HSL | hsl(267, 71%, 25%) |
| HSV | hsv(267, 83%, 44%) |
| CMYK | cmyk(45.9%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(18.25, 39.28, -44.86) |
| CIE-LCH | lch(18.25, 59.63, 311.20°) |
| OKLab | oklab(31.32% 0.0663 -0.1285) |
| OKLCH | oklch(31.32% 0.145 297.3) |
| XYZ | xyz(4.9648, 2.5740, 15.2711) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 4.10
Indigo
#4B0082
ΔE00 4.21
Midnight Blue
#191970
ΔE00 5.95
Dark Indigo
#1F0954
ΔE00 6.06
Dark Royal Blue
#02066F
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C136F #466F13
analogous
#13186F #3C136F #6A136F
triadic
#3C136F #6F3C13 #136F3C
tetradic
#3C136F #6F1318 #466F13 #136F6A
square
#3C136F #6F1318 #466F13 #136F6A
split-complementary
#3C136F #6F6A13 #186F13
monochromatic
#0E041A #200A3B #3C136F #581CA3 #7425D8
Accessibility & contrast
On white
13.86
#3C136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#3C136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C136F
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C136F | 1.00 | 13.86 | 1.51 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#2E2D41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c136f; /* rgb */ color: rgb(60, 19, 111); /* oklch */ color: oklch(31.3% 0.145 297.3);
Tailwind
colors: {
custom: {
50: '#785699',
500: '#3c136f',
950: '#000000',
},
}SCSS
$custom: #3c136f; $custom-light: #785699; $custom-dark: #000000;
JSON
{
"hex": "#3c136f",
"rgb": {
"r": 60,
"g": 19,
"b": 111
},
"hsl": {
"h": 266.739,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.3132,
"c": 0.14458,
"h": 297.3
},
"luminance": 0.02574
}Semantic roles & 50–950 ramp
primary
#3C136F
secondary
#75A638
accent
#EE3A9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E