#5E26A9#5E26A9

#5E26A9 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.193 H 296.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5E26A9
RGBrgb(94, 38, 169)
HSLhsl(266, 63%, 41%)
HSVhsv(266, 78%, 66%)
CMYKcmyk(44.4%, 77.5%, 0%, 33.7%)
CIE-LABlab(30.95, 51.69, -60.05)
CIE-LCHlch(30.95, 79.23, 310.72°)
OKLaboklab(42.82% 0.0865 -0.172)
OKLCHoklch(42.82% 0.193 296.7)
XYZxyz(12.4687, 6.6302, 38.1512)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E26A9 #71A926
analogous
#262FA9 #5E26A9 #9F26A9
triadic
#5E26A9 #A95E26 #26A95E
tetradic
#5E26A9 #A9262F #71A926 #26A99F
square
#5E26A9 #A9262F #71A926 #26A99F
split-complementary
#5E26A9 #A99F26 #2FA926
monochromatic
#261045 #421B77 #5E26A9 #7B3AD3 #9C6CDE

Accessibility & contrast

On white

9.03
#5E26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5E26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E26A9
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E26A9#FFFFFF#000000##FFFFFF
##5E26A91.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#4A4A67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e26a9;
/* rgb */ color: rgb(94, 38, 169);
/* oklch */ color: oklch(42.8% 0.193 296.7);
Tailwind
colors: {
  custom: {
    50: '#9367c4',
    500: '#5e26a9',
    950: '#000000',
  },
}
SCSS
$custom: #5e26a9;
$custom-light: #9367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e26a9",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 265.649,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.1925,
    "h": 296.7
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#5E26A9
secondary
#9CC467
accent
#E641A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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