#45259C#45259C
#45259C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.178 H 287.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #45259C |
|---|---|
| RGB | rgb(69, 37, 156) |
| HSL | hsl(256, 62%, 38%) |
| HSV | hsv(256, 76%, 61%) |
| CMYK | cmyk(55.8%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(26.70, 44.80, -59.25) |
| CIE-LCH | lch(26.70, 74.28, 307.10°) |
| OKLab | oklab(38.81% 0.0526 -0.1705) |
| OKLCH | oklch(38.81% 0.178 287.2) |
| XYZ | xyz(9.1148, 4.9882, 31.9286) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.74
Royal
#0C1793
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.35
Violet Blue
#510AC9
ΔE00 6.49
Cobalt Blue
#030AA7
ΔE00 6.64
Indigo (survey)
#380282
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45259C #7C9C25
analogous
#25419C #45259C #80259C
triadic
#45259C #9C4525 #259C45
tetradic
#45259C #9C2541 #7C9C25 #259C80
square
#45259C #9C2541 #7C9C25 #259C80
split-complementary
#45259C #9C8025 #419C25
monochromatic
#190E39 #2F196B #45259C #5B31CD #8262DA
Accessibility & contrast
On white
10.51
#45259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#45259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45259C
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45259C | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#1F465F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #45259c; /* rgb */ color: rgb(69, 37, 156); /* oklch */ color: oklch(38.8% 0.178 287.2);
Tailwind
colors: {
custom: {
50: '#8363ba',
500: '#45259c',
950: '#000000',
},
}SCSS
$custom: #45259c; $custom-light: #8363ba; $custom-dark: #000000;
JSON
{
"hex": "#45259c",
"rgb": {
"r": 69,
"g": 37,
"b": 156
},
"hsl": {
"h": 256.134,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.38812,
"c": 0.17843,
"h": 287.2
},
"luminance": 0.04989
}Semantic roles & 50–950 ramp
primary
#45259C
secondary
#A5BF5E
accent
#E543B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81