#5E269A#5E269A

#5E269A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.176 H 300.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5E269A
RGBrgb(94, 38, 154)
HSLhsl(269, 60%, 38%)
HSVhsv(269, 75%, 60%)
CMYKcmyk(39%, 75.3%, 0%, 39.6%)
CIE-LABlab(29.66, 47.88, -53.07)
CIE-LCHlch(29.66, 71.48, 312.06°)
OKLaboklab(41.51% 0.0903 -0.1515)
OKLCHoklch(41.51% 0.176 300.8)
XYZxyz(11.1405, 6.0989, 31.1559)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E269A #629A26
analogous
#26289A #5E269A #98269A
triadic
#5E269A #9A5E26 #269A5E
tetradic
#5E269A #9A2628 #629A26 #269A98
square
#5E269A #9A2628 #629A26 #269A98
split-complementary
#5E269A #9A9826 #289A26
monochromatic
#220E38 #401A69 #5E269A #7C32CB #9B62D8

Accessibility & contrast

On white

9.46
#5E269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E269A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E269A#FFFFFF#000000##FFFFFF
##5E269A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e269a;
/* rgb */ color: rgb(94, 38, 154);
/* oklch */ color: oklch(41.5% 0.176 300.8);
Tailwind
colors: {
  custom: {
    50: '#9166b9',
    500: '#5e269a',
    950: '#000000',
  },
}
SCSS
$custom: #5e269a;
$custom-light: #9166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e269a",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 268.966,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.17636,
    "h": 300.8
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#5E269A
secondary
#90BE5E
accent
#E44497
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E269A

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

Preview Lab → · Contrast checker → · Palette generator →

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