#5E2E92#5E2E92

#5E2E92 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.157 H 302.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5E2E92
RGBrgb(94, 46, 146)
HSLhsl(269, 52%, 38%)
HSVhsv(269, 68%, 57%)
CMYKcmyk(35.6%, 68.5%, 0%, 42.7%)
CIE-LABlab(30.42, 41.93, -46.93)
CIE-LCHlch(30.42, 62.94, 311.78°)
OKLaboklab(41.86% 0.0834 -0.1335)
OKLCHoklch(41.86% 0.157 302)
XYZxyz(10.7802, 6.4090, 27.8577)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2E92 #62922E
analogous
#2E3092 #5E2E92 #902E92
triadic
#5E2E92 #925E2E #2E925E
tetradic
#5E2E92 #922E30 #62922E #2E9290
square
#5E2E92 #922E30 #62922E #2E9290
split-complementary
#5E2E92 #92902E #30922E
monochromatic
#221135 #401F63 #5E2E92 #7C3DC1 #9B6AD0

Accessibility & contrast

On white

9.20
#5E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5E2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2E92
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2E92#FFFFFF#000000##FFFFFF
##5E2E921.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#53455C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5e2e92;
/* rgb */ color: rgb(94, 46, 146);
/* oklch */ color: oklch(41.9% 0.157 302.0);
Tailwind
colors: {
  custom: {
    50: '#906ab3',
    500: '#5e2e92',
    950: '#000000',
  },
}
SCSS
$custom: #5e2e92;
$custom-light: #906ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2e92",
  "rgb": {
    "r": 94,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 268.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.15738,
    "h": 302
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#5E2E92
secondary
#90B765
accent
#DC4C97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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