#5E269E#5E269E

#5E269E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.181 H 299.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#5E269E
RGBrgb(94, 38, 158)
HSLhsl(268, 61%, 38%)
HSVhsv(268, 76%, 62%)
CMYKcmyk(40.5%, 75.9%, 0%, 38%)
CIE-LABlab(30.00, 48.89, -54.96)
CIE-LCHlch(30.00, 73.56, 311.66°)
OKLaboklab(41.85% 0.0894 -0.157)
OKLCHoklch(41.85% 0.181 299.6)
XYZxyz(11.4792, 6.2344, 32.9397)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E269E #669E26
analogous
#262A9E #5E269E #9A269E
triadic
#5E269E #9E5E26 #269E5E
tetradic
#5E269E #9E262A #669E26 #269E9A
square
#5E269E #9E262A #669E26 #269E9A
split-complementary
#5E269E #9E9A26 #2A9E26
monochromatic
#230E3B #411A6D #5E269E #7B33CE #9B65DA

Accessibility & contrast

On white

9.35
#5E269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5E269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E269E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E269E#FFFFFF#000000##FFFFFF
##5E269E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#4F4560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5e269e;
/* rgb */ color: rgb(94, 38, 158);
/* oklch */ color: oklch(41.9% 0.181 299.6);
Tailwind
colors: {
  custom: {
    50: '#9266bc',
    500: '#5e269e',
    950: '#000000',
  },
}
SCSS
$custom: #5e269e;
$custom-light: #9266bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e269e",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 268,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.18068,
    "h": 299.6
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#5E269E
secondary
#93C060
accent
#E44399
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E269E

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

Preview Lab → · Contrast checker → · Palette generator →

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