#5E249D#5E249D

#5E249D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.182 H 300.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5E249D
RGBrgb(94, 36, 157)
HSLhsl(269, 63%, 38%)
HSVhsv(269, 77%, 62%)
CMYKcmyk(40.1%, 77.1%, 0%, 38.4%)
CIE-LABlab(29.60, 49.52, -54.99)
CIE-LCHlch(29.60, 74.00, 312.00°)
OKLaboklab(41.55% 0.0914 -0.1571)
OKLCHoklch(41.55% 0.182 300.2)
XYZxyz(11.3313, 6.0756, 32.4675)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E249D #639D24
analogous
#24279D #5E249D #9A249D
triadic
#5E249D #9D5E24 #249D5E
tetradic
#5E249D #9D2427 #639D24 #249D9A
square
#5E249D #9D2427 #639D24 #249D9A
split-complementary
#5E249D #9D9A24 #279D24
monochromatic
#220D39 #40196B #5E249D #7C2FCF #9B61DB

Accessibility & contrast

On white

9.48
#5E249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5E249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E249D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E249D#FFFFFF#000000##FFFFFF
##5E249D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#4F445F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e249d;
/* rgb */ color: rgb(94, 36, 157);
/* oklch */ color: oklch(41.6% 0.182 300.2);
Tailwind
colors: {
  custom: {
    50: '#9265bb',
    500: '#5e249d',
    950: '#000000',
  },
}
SCSS
$custom: #5e249d;
$custom-light: #9265bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e249d",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 268.76,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.18178,
    "h": 300.2
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#5E249D
secondary
#90C05D
accent
#E64297
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E249D

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

Preview Lab → · Contrast checker → · Palette generator →

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