#5E247E#5E247E

#5E247E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.149 H 310.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#5E247E
RGBrgb(94, 36, 126)
HSLhsl(279, 56%, 32%)
HSVhsv(279, 71%, 49%)
CMYKcmyk(25.4%, 71.4%, 0%, 50.6%)
CIE-LABlab(27.15, 42.00, -39.77)
CIE-LCHlch(27.15, 57.84, 316.56°)
OKLaboklab(39.05% 0.0973 -0.1124)
OKLCHoklch(39.05% 0.149 310.9)
XYZxyz(9.0122, 5.1480, 20.2535)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E247E #447E24
analogous
#31247E #5E247E #7E2471
triadic
#5E247E #7E5E24 #247E5E
tetradic
#5E247E #7E3124 #447E24 #24717E
square
#5E247E #7E3124 #447E24 #24717E
split-complementary
#5E247E #717E24 #247E31
monochromatic
#17091F #3A164E #5E247E #8232AE #A050CD

Accessibility & contrast

On white

10.35
#5E247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E247E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E247E#FFFFFF#000000##FFFFFF
##5E247E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#17417C
Tritanopia (blue-blind)
#5A374E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e247e;
/* rgb */ color: rgb(94, 36, 126);
/* oklch */ color: oklch(39.0% 0.149 310.9);
Tailwind
colors: {
  custom: {
    50: '#8f64a4',
    500: '#5e247e',
    950: '#000000',
  },
}
SCSS
$custom: #5e247e;
$custom-light: #8f64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e247e",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 278.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39049,
    "c": 0.14867,
    "h": 310.9
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#5E247E
secondary
#71B04E
accent
#DF497E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E247E

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

Preview Lab → · Contrast checker → · Palette generator →

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