#5D2B85#5D2B85

#5D2B85 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.146 H 306.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#5D2B85
RGBrgb(93, 43, 133)
HSLhsl(273, 51%, 35%)
HSVhsv(273, 68%, 52%)
CMYKcmyk(30.1%, 67.7%, 0%, 47.8%)
CIE-LABlab(28.77, 39.97, -41.56)
CIE-LCHlch(28.77, 57.66, 313.88°)
OKLaboklab(40.34% 0.0869 -0.1177)
OKLCHoklch(40.34% 0.146 306.4)
XYZxyz(9.6108, 5.7485, 22.7890)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B85 #53852B
analogous
#302B85 #5D2B85 #852B80
triadic
#5D2B85 #855D2B #2B855D
tetradic
#5D2B85 #85302B #53852B #2B8085
square
#5D2B85 #85302B #53852B #2B8085
split-complementary
#5D2B85 #80852B #2B8530
monochromatic
#1C0D29 #3D1C57 #5D2B85 #7D3AB3 #9B5FCB

Accessibility & contrast

On white

9.77
#5D2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5D2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2B85
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B85#FFFFFF#000000##FFFFFF
##5D2B851.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#154483
Tritanopia (blue-blind)
#563E54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d2b85;
/* rgb */ color: rgb(93, 43, 133);
/* oklch */ color: oklch(40.3% 0.146 306.4);
Tailwind
colors: {
  custom: {
    50: '#8e68a9',
    500: '#5d2b85',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b85;
$custom-light: #8e68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b85",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 273.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.14632,
    "h": 306.4
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#5D2B85
secondary
#81B15B
accent
#DB4D8C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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