#5E259A#5E259A

#5E259A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.177 H 300.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#5E259A
RGBrgb(94, 37, 154)
HSLhsl(269, 61%, 37%)
HSVhsv(269, 76%, 60%)
CMYKcmyk(39%, 76%, 0%, 39.6%)
CIE-LABlab(29.50, 48.33, -53.32)
CIE-LCHlch(29.50, 71.97, 312.19°)
OKLaboklab(41.4% 0.0912 -0.1522)
OKLCHoklch(41.4% 0.177 300.9)
XYZxyz(11.1090, 6.0358, 31.1453)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E259A #619A25
analogous
#25269A #5E259A #99259A
triadic
#5E259A #9A5E25 #259A5E
tetradic
#5E259A #9A2526 #619A25 #259A99
square
#5E259A #9A2526 #619A25 #259A99
split-complementary
#5E259A #9A9925 #269A25
monochromatic
#220D37 #401969 #5E259A #7C31CB #9B60D9

Accessibility & contrast

On white

9.51
#5E259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E259A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E259A#FFFFFF#000000##FFFFFF
##5E259A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#51435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e259a;
/* rgb */ color: rgb(94, 37, 154);
/* oklch */ color: oklch(41.4% 0.177 300.9);
Tailwind
colors: {
  custom: {
    50: '#9166b9',
    500: '#5e259a',
    950: '#000000',
  },
}
SCSS
$custom: #5e259a;
$custom-light: #9166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e259a",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 269.231,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.17748,
    "h": 300.9
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#5E259A
secondary
#8FBE5D
accent
#E44396
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E259A

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

Preview Lab → · Contrast checker → · Palette generator →

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