#3C229B#3C229B
#3C229B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.181 H 283.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3C229B |
|---|---|
| RGB | rgb(60, 34, 155) |
| HSL | hsl(253, 64%, 37%) |
| HSV | hsv(253, 78%, 61%) |
| CMYK | cmyk(61.3%, 78.1%, 0%, 39.2%) |
| CIE-LAB | lab(25.17, 44.82, -61.19) |
| CIE-LCH | lch(25.17, 75.85, 306.22°) |
| OKLab | oklab(37.49% 0.0413 -0.1764) |
| OKLCH | oklch(37.49% 0.181 283.2) |
| XYZ | xyz(8.3501, 4.4707, 31.4269) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.31
Royal
#0C1793
ΔE00 4.86
Ultramarine
#2000B1
ΔE00 5.39
Cobalt Blue
#030AA7
ΔE00 5.40
Royal Blue (survey)
#0504AA
ΔE00 5.71
Indigo (survey)
#380282
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C229B #819B22
analogous
#22449B #3C229B #79229B
triadic
#3C229B #9B3C22 #229B3C
tetradic
#3C229B #9B2244 #819B22 #229B79
square
#3C229B #9B2244 #819B22 #229B79
split-complementary
#3C229B #9B7922 #449B22
monochromatic
#150C37 #291769 #3C229B #4F2DCD #775CDB
Accessibility & contrast
On white
11.09
#3C229B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3C229B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C229B
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C229B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C229B | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c229b; /* rgb */ color: rgb(60, 34, 155); /* oklch */ color: oklch(37.5% 0.181 283.2);
Tailwind
colors: {
custom: {
50: '#7e61ba',
500: '#3c229b',
950: '#000000',
},
}SCSS
$custom: #3c229b; $custom-light: #7e61ba; $custom-dark: #000000;
JSON
{
"hex": "#3c229b",
"rgb": {
"r": 60,
"g": 34,
"b": 155
},
"hsl": {
"h": 252.893,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.37492,
"c": 0.18119,
"h": 283.2
},
"luminance": 0.04471
}Semantic roles & 50–950 ramp
primary
#3C229B
secondary
#AAC059
accent
#E741C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981