#5D269F#5D269F
#5D269F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.182 H 298.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5D269F |
|---|---|
| RGB | rgb(93, 38, 159) |
| HSL | hsl(267, 61%, 39%) |
| HSV | hsv(267, 76%, 62%) |
| CMYK | cmyk(41.5%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(29.95, 48.97, -55.64) |
| CIE-LCH | lch(29.95, 74.12, 311.35°) |
| OKLab | oklab(41.82% 0.0876 -0.1591) |
| OKLCH | oklch(41.82% 0.182 298.8) |
| XYZ | xyz(11.4637, 6.2164, 33.3901) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.55
Indigo Blue
#3A18B1
ΔE00 6.20
Purple (survey)
#7E1E9C
ΔE00 6.42
Violet Blue
#510AC9
ΔE00 6.47
Purple Blue
#5D21D0
ΔE00 6.71
Indigo
#4B0082
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D269F #689F26
analogous
#262B9F #5D269F #99269F
triadic
#5D269F #9F5D26 #269F5D
tetradic
#5D269F #9F262B #689F26 #269F99
square
#5D269F #9F262B #689F26 #269F99
split-complementary
#5D269F #9F9926 #2B9F26
monochromatic
#230E3C #401A6E #5D269F #7A34CE #9A65DA
Accessibility & contrast
On white
9.36
#5D269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#5D269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D269F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D269F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4D4661
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5d269f; /* rgb */ color: rgb(93, 38, 159); /* oklch */ color: oklch(41.8% 0.182 298.8);
Tailwind
colors: {
custom: {
50: '#9166bc',
500: '#5d269f',
950: '#000000',
},
}SCSS
$custom: #5d269f; $custom-light: #9166bc; $custom-dark: #000000;
JSON
{
"hex": "#5d269f",
"rgb": {
"r": 93,
"g": 38,
"b": 159
},
"hsl": {
"h": 267.273,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.41821,
"c": 0.18161,
"h": 298.8
},
"luminance": 0.06217
}Semantic roles & 50–950 ramp
primary
#5D269F
secondary
#95C061
accent
#E5439B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81