#5E2F83#5E2F83

#5E2F83 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.138 H 307.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5E2F83
RGBrgb(94, 47, 131)
HSLhsl(274, 47%, 35%)
HSVhsv(274, 64%, 51%)
CMYKcmyk(28.2%, 64.1%, 0%, 48.6%)
CIE-LABlab(29.54, 37.59, -39.06)
CIE-LCHlch(29.54, 54.21, 313.90°)
OKLaboklab(40.88% 0.0834 -0.1104)
OKLCHoklch(40.88% 0.138 307.1)
XYZxyz(9.7285, 6.0515, 22.1239)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2F83 #54832F
analogous
#342F83 #5E2F83 #832F7E
triadic
#5E2F83 #835E2F #2F835E
tetradic
#5E2F83 #83342F #54832F #2F7E83
square
#5E2F83 #83342F #54832F #2F7E83
split-complementary
#5E2F83 #7E832F #2F8334
monochromatic
#1D0F29 #3E1F56 #5E2F83 #7E3FB0 #9C65C8

Accessibility & contrast

On white

9.50
#5E2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5E2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2F83
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2F83#FFFFFF#000000##FFFFFF
##5E2F831.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#584054
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e2f83;
/* rgb */ color: rgb(94, 47, 131);
/* oklch */ color: oklch(40.9% 0.138 307.1);
Tailwind
colors: {
  custom: {
    50: '#8f6aa7',
    500: '#5e2f83',
    950: '#000000',
  },
}
SCSS
$custom: #5e2f83;
$custom-light: #8f6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2f83",
  "rgb": {
    "r": 94,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 273.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.13834,
    "h": 307.1
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#5E2F83
secondary
#82AF5F
accent
#D7518C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #5E2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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