#3C256E#3C256E
#3C256E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.120 H 293.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3C256E |
|---|---|
| RGB | rgb(60, 37, 110) |
| HSL | hsl(259, 50%, 29%) |
| HSV | hsv(259, 66%, 43%) |
| CMYK | cmyk(45.5%, 66.4%, 0%, 56.9%) |
| CIE-LAB | lab(21.61, 29.36, -38.73) |
| CIE-LCH | lch(21.61, 48.60, 307.16°) |
| OKLab | oklab(33.69% 0.0478 -0.1106) |
| OKLCH | oklch(33.69% 0.12 293.4) |
| XYZ | xyz(5.3388, 3.4094, 15.1256) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.12
Royal Purple (survey)
#4B006E
ΔE00 7.39
Indigo (survey)
#380282
ΔE00 7.61
Darkslateblue
#483D8B
ΔE00 7.61
Indigo
#4B0082
ΔE00 7.63
Dark Indigo
#1F0954
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C256E #576E25
analogous
#25336E #3C256E #61256E
triadic
#3C256E #6E3C25 #256E3C
tetradic
#3C256E #6E2533 #576E25 #256E61
square
#3C256E #6E2533 #576E25 #256E61
split-complementary
#3C256E #6E6125 #336E25
monochromatic
#0C0817 #231640 #3C256E #55349C #714BC2
Accessibility & contrast
On white
12.49
#3C256E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3C256E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C256E
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C256E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C256E | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#2E3646
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3c256e; /* rgb */ color: rgb(60, 37, 110); /* oklch */ color: oklch(33.7% 0.120 293.4);
Tailwind
colors: {
custom: {
50: '#766198',
500: '#3c256e',
950: '#000000',
},
}SCSS
$custom: #3c256e; $custom-light: #766198; $custom-dark: #000000;
JSON
{
"hex": "#3c256e",
"rgb": {
"r": 60,
"g": 37,
"b": 110
},
"hsl": {
"h": 258.904,
"s": 49.66,
"l": 28.824
},
"oklch": {
"l": 0.33686,
"c": 0.12045,
"h": 293.4
},
"luminance": 0.0341
}Semantic roles & 50–950 ramp
primary
#3C256E
secondary
#87A14E
accent
#D94FAE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E