#422395#422395
#422395 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.172 H 287.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #422395 |
|---|---|
| RGB | rgb(66, 35, 149) |
| HSL | hsl(256, 62%, 36%) |
| HSV | hsv(256, 77%, 58%) |
| CMYK | cmyk(55.7%, 76.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.35, 43.33, -57.19) |
| CIE-LCH | lch(25.35, 71.75, 307.15°) |
| OKLab | oklab(37.58% 0.0515 -0.1645) |
| OKLCH | oklch(37.58% 0.172 287.4) |
| XYZ | xyz(8.2710, 4.5298, 28.8665) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.32
Royal
#0C1793
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 5.84
Indigo
#4B0082
ΔE00 6.04
Ultramarine
#2000B1
ΔE00 6.40
Cobalt Blue
#030AA7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#422395 #769523
analogous
#233D95 #422395 #7B2395
triadic
#422395 #954223 #239542
tetradic
#422395 #95233D #769523 #23957B
square
#422395 #95233D #769523 #23957B
split-complementary
#422395 #957B23 #3D9523
monochromatic
#160C32 #2C1763 #422395 #582FC7 #7C5AD8
Accessibility & contrast
On white
11.02
#422395 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#422395 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #422395
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##422395 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##422395 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#1F435A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #422395; /* rgb */ color: rgb(66, 35, 149); /* oklch */ color: oklch(37.6% 0.172 287.4);
Tailwind
colors: {
custom: {
50: '#8062b5',
500: '#422395',
950: '#000000',
},
}SCSS
$custom: #422395; $custom-light: #8062b5; $custom-dark: #000000;
JSON
{
"hex": "#422395",
"rgb": {
"r": 66,
"g": 35,
"b": 149
},
"hsl": {
"h": 256.316,
"s": 61.957,
"l": 36.078
},
"oklch": {
"l": 0.37583,
"c": 0.17239,
"h": 287.4
},
"luminance": 0.0453
}Semantic roles & 50–950 ramp
primary
#422395
secondary
#A1BD57
accent
#E543B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980