#6D58CD#6D58CD
#6D58CD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.174 H 287.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6D58CD |
|---|---|
| RGB | rgb(109, 88, 205) |
| HSL | hsl(251, 54%, 57%) |
| HSV | hsv(251, 57%, 80%) |
| CMYK | cmyk(46.8%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(45.13, 37.86, -58.09) |
| CIE-LCH | lch(45.13, 69.34, 303.10°) |
| OKLab | oklab(54.27% 0.0519 -0.1658) |
| OKLCH | oklch(54.27% 0.174 287.4) |
| XYZ | xyz(20.8127, 14.6376, 59.4745) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 0.68
Slate Blue
#6A5ACD
ΔE00 0.88
Iris
#6258C4
ΔE00 2.40
Dark Periwinkle
#665FD1
ΔE00 2.79
Purpley
#8756E4
ΔE00 5.58
Warm Blue
#4B57DB
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D58CD #B8CD58
analogous
#587ECD #6D58CD #A758CD
triadic
#6D58CD #CD6D58 #58CD6D
tetradic
#6D58CD #CD587E #B8CD58 #58CDA7
square
#6D58CD #CD587E #B8CD58 #58CDA7
split-complementary
#6D58CD #CDA758 #7ECD58
monochromatic
#382783 #4C35B2 #6D58CD #9687DB #BFB6E9
Accessibility & contrast
On white
5.35
#6D58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#6D58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D58CD
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D58CD | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#0368CA
Tritanopia (blue-blind)
#4E728A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6d58cd; /* rgb */ color: rgb(109, 88, 205); /* oklch */ color: oklch(54.3% 0.174 287.4);
Tailwind
colors: {
custom: {
50: '#9d88dd',
500: '#6d58cd',
950: '#000000',
},
}SCSS
$custom: #6d58cd; $custom-light: #9d88dd; $custom-dark: #000000;
JSON
{
"hex": "#6d58cd",
"rgb": {
"r": 109,
"g": 88,
"b": 205
},
"hsl": {
"h": 250.769,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.54271,
"c": 0.17375,
"h": 287.4
},
"luminance": 0.14638
}Semantic roles & 50–950 ramp
primary
#6D58CD
secondary
#D0D8A9
accent
#DD4BC3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83