#5E2290#5E2290

#5E2290 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.170 H 304.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#5E2290
RGBrgb(94, 34, 144)
HSLhsl(273, 62%, 35%)
HSVhsv(273, 76%, 56%)
CMYKcmyk(34.7%, 76.4%, 0%, 43.5%)
CIE-LABlab(28.21, 47.19, -49.28)
CIE-LCHlch(28.21, 68.23, 313.76°)
OKLaboklab(40.24% 0.0964 -0.1403)
OKLCHoklch(40.24% 0.17 304.5)
XYZxyz(10.2210, 5.5374, 26.9105)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2290 #549022
analogous
#272290 #5E2290 #90228B
triadic
#5E2290 #905E22 #22905E
tetradic
#5E2290 #902722 #549022 #228B90
square
#5E2290 #902722 #549022 #228B90
split-complementary
#5E2290 #8B9022 #229027
monochromatic
#1D0B2D #3E165E #5E2290 #7E2EC2 #9C55D7

Accessibility & contrast

On white

9.96
#5E2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5E2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2290
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2290#FFFFFF#000000##FFFFFF
##5E22901.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#543D57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e2290;
/* rgb */ color: rgb(94, 34, 144);
/* oklch */ color: oklch(40.2% 0.170 304.5);
Tailwind
colors: {
  custom: {
    50: '#9164b1',
    500: '#5e2290',
    950: '#000000',
  },
}
SCSS
$custom: #5e2290;
$custom-light: #9164b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2290",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 272.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.17023,
    "h": 304.5
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#5E2290
secondary
#82BB53
accent
#E5438D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2290

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

Preview Lab → · Contrast checker → · Palette generator →

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