#5E2283#5E2283

#5E2283 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.157 H 309.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#5E2283
RGBrgb(94, 34, 131)
HSLhsl(277, 59%, 32%)
HSVhsv(277, 74%, 51%)
CMYKcmyk(28.2%, 74%, 0%, 48.6%)
CIE-LABlab(27.19, 44.09, -42.85)
CIE-LCHlch(27.19, 61.48, 315.82°)
OKLaboklab(39.2% 0.0989 -0.1214)
OKLCHoklch(39.2% 0.157 309.2)
XYZxyz(9.2840, 5.1626, 21.9757)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2283 #478322
analogous
#2D2283 #5E2283 #832278
triadic
#5E2283 #835E22 #22835E
tetradic
#5E2283 #832D22 #478322 #227883
square
#5E2283 #832D22 #478322 #227883
split-complementary
#5E2283 #788322 #22832D
monochromatic
#180922 #3B1552 #5E2283 #812FB4 #9F4ED1

Accessibility & contrast

On white

10.33
#5E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2283
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2283#FFFFFF#000000##FFFFFF
##5E22831.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#0A4181
Tritanopia (blue-blind)
#583850
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2283;
/* rgb */ color: rgb(94, 34, 131);
/* oklch */ color: oklch(39.2% 0.157 309.2);
Tailwind
colors: {
  custom: {
    50: '#9063a8',
    500: '#5e2283',
    950: '#000000',
  },
}
SCSS
$custom: #5e2283;
$custom-light: #9063a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2283",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 277.113,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.15657,
    "h": 309.2
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#5E2283
secondary
#74B44C
accent
#E24681
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2283

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

Preview Lab → · Contrast checker → · Palette generator →

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