#5D2F90#5D2F90

#5D2F90 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.153 H 301.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5D2F90
RGBrgb(93, 47, 144)
HSLhsl(268, 51%, 37%)
HSVhsv(268, 67%, 56%)
CMYKcmyk(35.4%, 67.4%, 0%, 43.5%)
CIE-LABlab(30.34, 40.67, -45.84)
CIE-LCHlch(30.34, 61.28, 311.58°)
OKLaboklab(41.72% 0.081 -0.1303)
OKLCHoklch(41.72% 0.153 301.9)
XYZxyz(10.5636, 6.3738, 27.0539)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2F90 #62902F
analogous
#2F3190 #5D2F90 #8E2F90
triadic
#5D2F90 #905D2F #2F905D
tetradic
#5D2F90 #902F31 #62902F #2F908E
square
#5D2F90 #902F31 #62902F #2F908E
split-complementary
#5D2F90 #908E2F #31902F
monochromatic
#211134 #3F2062 #5D2F90 #7B3EBE #9A6BCF

Accessibility & contrast

On white

9.23
#5D2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5D2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2F90
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2F90#FFFFFF#000000##FFFFFF
##5D2F901.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#04478E
Tritanopia (blue-blind)
#52455B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d2f90;
/* rgb */ color: rgb(93, 47, 144);
/* oklch */ color: oklch(41.7% 0.153 301.9);
Tailwind
colors: {
  custom: {
    50: '#8f6bb1',
    500: '#5d2f90',
    950: '#000000',
  },
}
SCSS
$custom: #5d2f90;
$custom-light: #8f6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2f90",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 268.454,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.15346,
    "h": 301.9
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#5D2F90
secondary
#8FB665
accent
#DA4E98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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