#4C2092#4C2092
#4C2092 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.172 H 294.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2092 |
|---|---|
| RGB | rgb(76, 32, 146) |
| HSL | hsl(263, 64%, 35%) |
| HSV | hsv(263, 78%, 57%) |
| CMYK | cmyk(47.9%, 78.1%, 0%, 42.7%) |
| CIE-LAB | lab(25.70, 45.47, -54.72) |
| CIE-LCH | lch(25.70, 71.15, 309.72°) |
| OKLab | oklab(38% 0.0703 -0.1569) |
| OKLCH | oklch(38% 0.172 294.1) |
| XYZ | xyz(8.6839, 4.6446, 27.6275) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.83
Indigo Blue
#3A18B1
ΔE00 5.22
Indigo (survey)
#380282
ΔE00 5.63
Rebeccapurple
#663399
ΔE00 6.15
Royal
#0C1793
ΔE00 7.12
Ultramarine
#2000B1
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2092 #669220
analogous
#202D92 #4C2092 #852092
triadic
#4C2092 #924C20 #20924C
tetradic
#4C2092 #92202D #669220 #209285
square
#4C2092 #92202D #669220 #209285
split-complementary
#4C2092 #928520 #2D9220
monochromatic
#180A2E #321560 #4C2092 #662BC4 #8753D9
Accessibility & contrast
On white
10.89
#4C2092 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4C2092 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2092
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2092 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2092 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#373F58
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4c2092; /* rgb */ color: rgb(76, 32, 146); /* oklch */ color: oklch(38.0% 0.172 294.1);
Tailwind
colors: {
custom: {
50: '#8661b3',
500: '#4c2092',
950: '#000000',
},
}SCSS
$custom: #4c2092; $custom-light: #8661b3; $custom-dark: #000000;
JSON
{
"hex": "#4c2092",
"rgb": {
"r": 76,
"g": 32,
"b": 146
},
"hsl": {
"h": 263.158,
"s": 64.045,
"l": 34.902
},
"oklch": {
"l": 0.38003,
"c": 0.17199,
"h": 294.1
},
"luminance": 0.04645
}Semantic roles & 50–950 ramp
primary
#4C2092
secondary
#93BD51
accent
#E741A7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980