#5E247F#5E247F

#5E247F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.150 H 310.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#5E247F
RGBrgb(94, 36, 127)
HSLhsl(278, 56%, 32%)
HSVhsv(278, 72%, 50%)
CMYKcmyk(26%, 71.7%, 0%, 50.2%)
CIE-LABlab(27.22, 42.23, -40.28)
CIE-LCHlch(27.22, 58.36, 316.35°)
OKLaboklab(39.12% 0.0972 -0.1139)
OKLCHoklch(39.12% 0.15 310.5)
XYZxyz(9.0770, 5.1739, 20.5951)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E247F #457F24
analogous
#31247F #5E247F #7F2473
triadic
#5E247F #7F5E24 #247F5E
tetradic
#5E247F #7F3124 #457F24 #24737F
square
#5E247F #7F3124 #457F24 #24737F
split-complementary
#5E247F #737F24 #247F31
monochromatic
#170920 #3B164F #5E247F #8132AF #A050CD

Accessibility & contrast

On white

10.32
#5E247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E247F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E247F#FFFFFF#000000##FFFFFF
##5E247F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#5A384F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e247f;
/* rgb */ color: rgb(94, 36, 127);
/* oklch */ color: oklch(39.1% 0.150 310.5);
Tailwind
colors: {
  custom: {
    50: '#8f64a5',
    500: '#5e247f',
    950: '#000000',
  },
}
SCSS
$custom: #5e247f;
$custom-light: #8f64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e247f",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 278.242,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39123,
    "c": 0.14974,
    "h": 310.5
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#5E247F
secondary
#72B14E
accent
#DF497F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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