#5D267D#5D267D

#5D267D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.144 H 310.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#5D267D
RGBrgb(93, 38, 125)
HSLhsl(278, 53%, 32%)
HSVhsv(278, 70%, 49%)
CMYKcmyk(25.6%, 69.6%, 0%, 51%)
CIE-LABlab(27.28, 40.56, -38.94)
CIE-LCHlch(27.28, 56.23, 316.17°)
OKLaboklab(39.09% 0.0937 -0.11)
OKLCHoklch(39.09% 0.144 310.4)
XYZxyz(8.9083, 5.1942, 19.9314)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D267D #467D26
analogous
#32267D #5D267D #7D2672
triadic
#5D267D #7D5D26 #267D5D
tetradic
#5D267D #7D3226 #467D26 #26727D
square
#5D267D #7D3226 #467D26 #26727D
split-complementary
#5D267D #727D26 #267D32
monochromatic
#17091F #3A184E #5D267D #8034AC #9F53CB

Accessibility & contrast

On white

10.30
#5D267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5D267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D267D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D267D#FFFFFF#000000##FFFFFF
##5D267D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#59384E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d267d;
/* rgb */ color: rgb(93, 38, 125);
/* oklch */ color: oklch(39.1% 0.144 310.4);
Tailwind
colors: {
  custom: {
    50: '#8e65a3',
    500: '#5d267d',
    950: '#000000',
  },
}
SCSS
$custom: #5d267d;
$custom-light: #8e65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d267d",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 277.931,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.14448,
    "h": 310.4
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#5D267D
secondary
#73AF50
accent
#DD4B81
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5D267D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5D267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva