#4D269F#4D269F
#4D269F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.181 H 290.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4D269F |
|---|---|
| RGB | rgb(77, 38, 159) |
| HSL | hsl(259, 61%, 39%) |
| HSV | hsv(259, 76%, 62%) |
| CMYK | cmyk(51.6%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(28.03, 46.36, -58.87) |
| CIE-LCH | lch(28.03, 74.93, 308.22°) |
| OKLab | oklab(40.03% 0.0633 -0.1691) |
| OKLCH | oklch(40.03% 0.181 290.5) |
| XYZ | xyz(10.0099, 5.4668, 33.3219) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Rebeccapurple
#663399
ΔE00 5.66
Violet Blue
#510AC9
ΔE00 6.00
Purple Blue
#5D21D0
ΔE00 6.90
Indigo
#4B0082
ΔE00 6.93
Ultramarine
#2000B1
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D269F #789F26
analogous
#263B9F #4D269F #89269F
triadic
#4D269F #9F4D26 #269F4D
tetradic
#4D269F #9F263B #789F26 #269F89
square
#4D269F #9F263B #789F26 #269F89
split-complementary
#4D269F #9F8926 #3B9F26
monochromatic
#1D0E3C #351A6E #4D269F #6634CE #8B65DA
Accessibility & contrast
On white
10.03
#4D269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#4D269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D269F
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D269F | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#304761
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4d269f; /* rgb */ color: rgb(77, 38, 159); /* oklch */ color: oklch(40.0% 0.181 290.5);
Tailwind
colors: {
custom: {
50: '#8865bc',
500: '#4d269f',
950: '#000000',
},
}SCSS
$custom: #4d269f; $custom-light: #8865bc; $custom-dark: #000000;
JSON
{
"hex": "#4d269f",
"rgb": {
"r": 77,
"g": 38,
"b": 159
},
"hsl": {
"h": 259.339,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.40032,
"c": 0.18058,
"h": 290.5
},
"luminance": 0.05467
}Semantic roles & 50–950 ramp
primary
#4D269F
secondary
#A1C061
accent
#E543B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81