#5D2E90#5D2E90

#5D2E90 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.155 H 302.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#5D2E90
RGBrgb(93, 46, 144)
HSLhsl(269, 52%, 37%)
HSVhsv(269, 68%, 56%)
CMYKcmyk(35.4%, 68.1%, 0%, 43.5%)
CIE-LABlab(30.14, 41.20, -46.15)
CIE-LCHlch(30.14, 61.87, 311.75°)
OKLaboklab(41.58% 0.0822 -0.1312)
OKLCHoklch(41.58% 0.155 302.1)
XYZxyz(10.5240, 6.2947, 27.0407)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2E90 #61902E
analogous
#2E3090 #5D2E90 #8E2E90
triadic
#5D2E90 #905D2E #2E905D
tetradic
#5D2E90 #902E30 #61902E #2E908E
square
#5D2E90 #902E30 #61902E #2E908E
split-complementary
#5D2E90 #908E2E #30902E
monochromatic
#211033 #3F1F62 #5D2E90 #7B3DBE #9A69CF

Accessibility & contrast

On white

9.30
#5D2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5D2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2E90
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2E90#FFFFFF#000000##FFFFFF
##5D2E901.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00478E
Tritanopia (blue-blind)
#53445B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d2e90;
/* rgb */ color: rgb(93, 46, 144);
/* oklch */ color: oklch(41.6% 0.155 302.1);
Tailwind
colors: {
  custom: {
    50: '#8f6ab1',
    500: '#5d2e90',
    950: '#000000',
  },
}
SCSS
$custom: #5d2e90;
$custom-light: #8f6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2e90",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 268.776,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.15485,
    "h": 302.1
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#5D2E90
secondary
#8FB664
accent
#DB4D97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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