#4126C3#4126C3
#4126C3 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.223 H 279.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4126C3 |
|---|---|
| RGB | rgb(65, 38, 195) |
| HSL | hsl(250, 67%, 46%) |
| HSV | hsv(250, 81%, 76%) |
| CMYK | cmyk(66.7%, 80.5%, 0%, 23.5%) |
| CIE-LAB | lab(30.52, 55.24, -76.32) |
| CIE-LCH | lch(30.52, 94.22, 305.90°) |
| OKLab | oklab(42.58% 0.0348 -0.2204) |
| OKLCH | oklch(42.58% 0.223 279) |
| XYZ | xyz(12.7203, 6.4491, 52.1936) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 3.45
Indigo Blue
#3A18B1
ΔE00 3.67
Purple Blue
#5D21D0
ΔE00 3.91
Ultramarine Blue
#1805DB
ΔE00 4.47
True Blue
#010FCC
ΔE00 4.55
Blurple
#5539CC
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4126C3 #A8C326
analogous
#265AC3 #4126C3 #8F26C3
triadic
#4126C3 #C34126 #26C341
tetradic
#4126C3 #C3265A #A8C326 #26C38F
square
#4126C3 #C3265A #A8C326 #26C38F
split-complementary
#4126C3 #C38F26 #5AC326
monochromatic
#1F125D #301C90 #4126C3 #634ADC #907EE6
Accessibility & contrast
On white
9.17
#4126C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4126C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4126C3
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4126C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4126C3 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4126c3; /* rgb */ color: rgb(65, 38, 195); /* oklch */ color: oklch(42.6% 0.223 279.0);
Tailwind
colors: {
custom: {
50: '#8866d7',
500: '#4126c3',
950: '#000000',
},
}SCSS
$custom: #4126c3; $custom-light: #8866d7; $custom-dark: #000000;
JSON
{
"hex": "#4126c3",
"rgb": {
"r": 65,
"g": 38,
"b": 195
},
"hsl": {
"h": 250.318,
"s": 67.382,
"l": 45.686
},
"oklch": {
"l": 0.42582,
"c": 0.22314,
"h": 279
},
"luminance": 0.0645
}Semantic roles & 50–950 ramp
primary
#4126C3
secondary
#BFCE77
accent
#EA3ECD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83