#4526AF#4526AF
#4526AF is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.200 H 283.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4526AF |
|---|---|
| RGB | rgb(69, 38, 175) |
| HSL | hsl(254, 64%, 42%) |
| HSV | hsv(254, 78%, 69%) |
| CMYK | cmyk(60.6%, 78.3%, 0%, 31.4%) |
| CIE-LAB | lab(28.76, 49.85, -67.35) |
| CIE-LCH | lch(28.76, 83.79, 306.51°) |
| OKLab | oklab(40.82% 0.0466 -0.1942) |
| OKLCH | oklch(40.82% 0.2 283.5) |
| XYZ | xyz(10.8828, 5.7459, 41.0847) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.64
Violet Blue
#510AC9
ΔE00 4.42
Purple Blue
#5D21D0
ΔE00 5.41
True Blue
#010FCC
ΔE00 5.58
Ultramarine
#2000B1
ΔE00 5.96
Ultramarine Blue
#1805DB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4526AF #90AF26
analogous
#264BAF #4526AF #8A26AF
triadic
#4526AF #AF4526 #26AF45
tetradic
#4526AF #AF264B #90AF26 #26AF8A
square
#4526AF #AF264B #90AF26 #26AF8A
split-complementary
#4526AF #AF8A26 #4BAF26
monochromatic
#1D104A #311B7D #4526AF #603DD5 #8970E0
Accessibility & contrast
On white
9.77
#4526AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4526AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4526AF
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4526AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4526AF | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4526af; /* rgb */ color: rgb(69, 38, 175); /* oklch */ color: oklch(40.8% 0.200 283.5);
Tailwind
colors: {
custom: {
50: '#8665c8',
500: '#4526af',
950: '#000000',
},
}SCSS
$custom: #4526af; $custom-light: #8665c8; $custom-dark: #000000;
JSON
{
"hex": "#4526af",
"rgb": {
"r": 69,
"g": 38,
"b": 175
},
"hsl": {
"h": 253.577,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.40824,
"c": 0.19967,
"h": 283.5
},
"luminance": 0.05747
}Semantic roles & 50–950 ramp
primary
#4526AF
secondary
#B2C76A
accent
#E740C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82