#5E269B#5E269B

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

Color values

HEX#5E269B
RGBrgb(94, 38, 155)
HSLhsl(269, 61%, 38%)
HSVhsv(269, 75%, 61%)
CMYKcmyk(39.4%, 75.5%, 0%, 39.2%)
CIE-LABlab(29.74, 48.13, -53.54)
CIE-LCHlch(29.74, 72.00, 311.96°)
OKLaboklab(41.6% 0.0901 -0.1529)
OKLCHoklch(41.6% 0.177 300.5)
XYZxyz(11.2241, 6.1324, 31.5963)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E269B #639B26
analogous
#26289B #5E269B #98269B
triadic
#5E269B #9B5E26 #269B5E
tetradic
#5E269B #9B2628 #639B26 #269B98
square
#5E269B #9B2628 #639B26 #269B98
split-complementary
#5E269B #9B9826 #289B26
monochromatic
#220E39 #401A6A #5E269B #7C32CC #9B63D9

Accessibility & contrast

On white

9.43
#5E269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5E269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E269B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E269B#FFFFFF#000000##FFFFFF
##5E269B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#50445F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e269b;
/* rgb */ color: rgb(94, 38, 155);
/* oklch */ color: oklch(41.6% 0.177 300.5);
Tailwind
colors: {
  custom: {
    50: '#9166b9',
    500: '#5e269b',
    950: '#000000',
  },
}
SCSS
$custom: #5e269b;
$custom-light: #9166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e269b",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 268.718,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.17744,
    "h": 300.5
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#5E269B
secondary
#90BE5F
accent
#E44497
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5E269B

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

Preview Lab → · Contrast checker → · Palette generator →

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