#5E2B95#5E2B95

#5E2B95 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.165 H 301.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5E2B95
RGBrgb(94, 43, 149)
HSLhsl(269, 55%, 38%)
HSVhsv(269, 71%, 58%)
CMYKcmyk(36.9%, 71.1%, 0%, 41.6%)
CIE-LABlab(30.10, 44.23, -49.29)
CIE-LCHlch(30.10, 66.23, 311.91°)
OKLaboklab(41.7% 0.0863 -0.1404)
OKLCHoklch(41.7% 0.165 301.6)
XYZxyz(10.9035, 6.2773, 29.0651)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2B95 #62952B
analogous
#2B2D95 #5E2B95 #932B95
triadic
#5E2B95 #955E2B #2B955E
tetradic
#5E2B95 #952B2D #62952B #2B9593
square
#5E2B95 #952B2D #62952B #2B9593
split-complementary
#5E2B95 #95932B #2D952B
monochromatic
#221036 #401D66 #5E2B95 #7C39C4 #9B67D3

Accessibility & contrast

On white

9.31
#5E2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2B95
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2B95#FFFFFF#000000##FFFFFF
##5E2B951.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#52445D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5e2b95;
/* rgb */ color: rgb(94, 43, 149);
/* oklch */ color: oklch(41.7% 0.165 301.6);
Tailwind
colors: {
  custom: {
    50: '#9169b5',
    500: '#5e2b95',
    950: '#000000',
  },
}
SCSS
$custom: #5e2b95;
$custom-light: #9169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2b95",
  "rgb": {
    "r": 94,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 268.868,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.417,
    "c": 0.16479,
    "h": 301.6
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#5E2B95
secondary
#90BA62
accent
#DF4997
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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