#3C236A#3C236A
#3C236A is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.118 H 295.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3C236A |
|---|---|
| RGB | rgb(60, 35, 106) |
| HSL | hsl(261, 50%, 28%) |
| HSV | hsv(261, 67%, 42%) |
| CMYK | cmyk(43.4%, 67%, 0%, 58.4%) |
| CIE-LAB | lab(20.84, 29.37, -37.39) |
| CIE-LCH | lch(20.84, 47.54, 308.15°) |
| OKLab | oklab(33.02% 0.0506 -0.1066) |
| OKLCH | oklch(33.02% 0.118 295.4) |
| XYZ | xyz(5.0653, 3.2032, 13.9843) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.36
Royal Purple (survey)
#4B006E
ΔE00 6.98
Dark Indigo
#1F0954
ΔE00 7.26
Indigo
#4B0082
ΔE00 7.62
Indigo (survey)
#380282
ΔE00 7.70
Darkslateblue
#483D8B
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C236A #516A23
analogous
#232D6A #3C236A #60236A
triadic
#3C236A #6A3C23 #236A3C
tetradic
#3C236A #6A232D #516A23 #236A60
square
#3C236A #6A232D #516A23 #236A60
split-complementary
#3C236A #6A6023 #2D6A23
monochromatic
#0D0817 #22143C #3C236A #563298 #7146C2
Accessibility & contrast
On white
12.80
#3C236A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#3C236A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C236A
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C236A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C236A | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#303343
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3c236a; /* rgb */ color: rgb(60, 35, 106); /* oklch */ color: oklch(33.0% 0.118 295.4);
Tailwind
colors: {
custom: {
50: '#765f95',
500: '#3c236a',
950: '#000000',
},
}SCSS
$custom: #3c236a; $custom-light: #765f95; $custom-dark: #000000;
JSON
{
"hex": "#3c236a",
"rgb": {
"r": 60,
"g": 35,
"b": 106
},
"hsl": {
"h": 261.127,
"s": 50.355,
"l": 27.647
},
"oklch": {
"l": 0.33023,
"c": 0.11803,
"h": 295.4
},
"luminance": 0.03203
}Semantic roles & 50–950 ramp
primary
#3C236A
secondary
#819D4B
accent
#DA4EA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E