#4226AF#4226AF
#4226AF is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.200 H 282.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4226AF |
|---|---|
| RGB | rgb(66, 38, 175) |
| HSL | hsl(252, 64%, 42%) |
| HSV | hsv(252, 78%, 69%) |
| CMYK | cmyk(62.3%, 78.3%, 0%, 31.4%) |
| CIE-LAB | lab(28.48, 49.51, -67.82) |
| CIE-LCH | lch(28.48, 83.96, 306.13°) |
| OKLab | oklab(40.56% 0.0421 -0.1956) |
| OKLCH | oklch(40.56% 0.2 282.2) |
| XYZ | xyz(10.6753, 5.6389, 41.0750) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.49
Violet Blue
#510AC9
ΔE00 4.58
True Blue
#010FCC
ΔE00 5.35
Purple Blue
#5D21D0
ΔE00 5.65
Ultramarine
#2000B1
ΔE00 5.76
Mediumblue
#0000CD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4226AF #93AF26
analogous
#264FAF #4226AF #8726AF
triadic
#4226AF #AF4226 #26AF42
tetradic
#4226AF #AF264F #93AF26 #26AF87
square
#4226AF #AF264F #93AF26 #26AF87
split-complementary
#4226AF #AF8726 #4FAF26
monochromatic
#1C104A #2F1B7D #4226AF #5C3DD5 #8770E0
Accessibility & contrast
On white
9.87
#4226AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4226AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4226AF
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4226AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4226AF | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4226af; /* rgb */ color: rgb(66, 38, 175); /* oklch */ color: oklch(40.6% 0.200 282.2);
Tailwind
colors: {
custom: {
50: '#8465c8',
500: '#4226af',
950: '#000000',
},
}SCSS
$custom: #4226af; $custom-light: #8465c8; $custom-dark: #000000;
JSON
{
"hex": "#4226af",
"rgb": {
"r": 66,
"g": 38,
"b": 175
},
"hsl": {
"h": 252.263,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.4056,
"c": 0.2001,
"h": 282.2
},
"luminance": 0.0564
}Semantic roles & 50–950 ramp
primary
#4226AF
secondary
#B4C76A
accent
#E740C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82