#3C1966#3C1966
#3C1966 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.127 H 299.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1966 |
|---|---|
| RGB | rgb(60, 25, 102) |
| HSL | hsl(267, 61%, 25%) |
| HSV | hsv(267, 75%, 40%) |
| CMYK | cmyk(41.2%, 75.5%, 0%, 60%) |
| CIE-LAB | lab(18.43, 33.91, -38.69) |
| CIE-LCH | lch(18.43, 51.45, 311.24°) |
| OKLab | oklab(31.19% 0.063 -0.1104) |
| OKLCH | oklch(31.19% 0.127 299.7) |
| XYZ | xyz(4.6088, 2.6152, 12.8298) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.82
Dark Indigo
#1F0954
ΔE00 5.82
Indigo
#4B0082
ΔE00 6.19
Indigo (survey)
#380282
ΔE00 6.41
Midnight Blue
#191970
ΔE00 6.53
Darkblue (survey)
#030764
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1966 #436619
analogous
#191C66 #3C1966 #631966
triadic
#3C1966 #663C19 #19663C
tetradic
#3C1966 #66191C #436619 #196663
square
#3C1966 #66191C #436619 #196663
split-complementary
#3C1966 #666319 #1C6619
monochromatic
#0E0619 #1F0D35 #3C1966 #592597 #7631C8
Accessibility & contrast
On white
13.79
#3C1966 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3C1966 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1966
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1966 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1966 | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#322C3D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c1966; /* rgb */ color: rgb(60, 25, 102); /* oklch */ color: oklch(31.2% 0.127 299.7);
Tailwind
colors: {
custom: {
50: '#765992',
500: '#3c1966',
950: '#000000',
},
}SCSS
$custom: #3c1966; $custom-light: #765992; $custom-dark: #000000;
JSON
{
"hex": "#3c1966",
"rgb": {
"r": 60,
"g": 25,
"b": 102
},
"hsl": {
"h": 267.273,
"s": 60.63,
"l": 24.902
},
"oklch": {
"l": 0.31191,
"c": 0.1271,
"h": 299.7
},
"luminance": 0.02615
}Semantic roles & 50–950 ramp
primary
#3C1966
secondary
#729C3F
accent
#E4449B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E