#4126AE#4126AE
#4126AE is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.199 H 281.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4126AE |
|---|---|
| RGB | rgb(65, 38, 174) |
| HSL | hsl(252, 64%, 42%) |
| HSV | hsv(252, 78%, 68%) |
| CMYK | cmyk(62.6%, 78.2%, 0%, 31.8%) |
| CIE-LAB | lab(28.29, 49.10, -67.54) |
| CIE-LCH | lch(28.29, 83.50, 306.01°) |
| OKLab | oklab(40.37% 0.0409 -0.1948) |
| OKLCH | oklch(40.37% 0.199 281.9) |
| XYZ | xyz(10.5107, 5.5653, 40.5565) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.46
Violet Blue
#510AC9
ΔE00 4.73
True Blue
#010FCC
ΔE00 5.36
Ultramarine
#2000B1
ΔE00 5.69
Purple Blue
#5D21D0
ΔE00 5.84
Mediumblue
#0000CD
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4126AE #93AE26
analogous
#264FAE #4126AE #8526AE
triadic
#4126AE #AE4126 #26AE41
tetradic
#4126AE #AE264F #93AE26 #26AE85
square
#4126AE #AE264F #93AE26 #26AE85
split-complementary
#4126AE #AE8526 #4FAE26
monochromatic
#1B104A #2E1B7C #4126AE #5B3DD5 #856FE0
Accessibility & contrast
On white
9.94
#4126AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4126AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4126AE
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4126AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4126AE | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4126ae; /* rgb */ color: rgb(65, 38, 174); /* oklch */ color: oklch(40.4% 0.199 281.9);
Tailwind
colors: {
custom: {
50: '#8465c7',
500: '#4126ae',
950: '#000000',
},
}SCSS
$custom: #4126ae; $custom-light: #8465c7; $custom-dark: #000000;
JSON
{
"hex": "#4126ae",
"rgb": {
"r": 65,
"g": 38,
"b": 174
},
"hsl": {
"h": 251.912,
"s": 64.151,
"l": 41.569
},
"oklch": {
"l": 0.40372,
"c": 0.19909,
"h": 281.9
},
"luminance": 0.05566
}Semantic roles & 50–950 ramp
primary
#4126AE
secondary
#B4C66A
accent
#E741C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82