#5E26AD#5E26AD

#5E26AD is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.197 H 295.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#5E26AD
RGBrgb(94, 38, 173)
HSLhsl(265, 64%, 41%)
HSVhsv(265, 78%, 68%)
CMYKcmyk(45.7%, 78%, 0%, 32.2%)
CIE-LABlab(31.31, 52.71, -61.87)
CIE-LCHlch(31.31, 81.28, 310.43°)
OKLaboklab(43.18% 0.0854 -0.1773)
OKLCHoklch(43.18% 0.197 295.7)
XYZxyz(12.8500, 6.7827, 40.1592)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E26AD #75AD26
analogous
#2632AD #5E26AD #A226AD
triadic
#5E26AD #AD5E26 #26AD5E
tetradic
#5E26AD #AD2632 #75AD26 #26ADA2
square
#5E26AD #AD2632 #75AD26 #26ADA2
split-complementary
#5E26AD #ADA226 #32AD26
monochromatic
#271049 #431B7B #5E26AD #7B3CD4 #9D6EDF

Accessibility & contrast

On white

8.91
#5E26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5E26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E26AD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E26AD#FFFFFF#000000##FFFFFF
##5E26AD1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#484B69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e26ad;
/* rgb */ color: rgb(94, 38, 173);
/* oklch */ color: oklch(43.2% 0.197 295.7);
Tailwind
colors: {
  custom: {
    50: '#9467c7',
    500: '#5e26ad',
    950: '#000000',
  },
}
SCSS
$custom: #5e26ad;
$custom-light: #9467c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e26ad",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 264.889,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.19678,
    "h": 295.7
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#5E26AD
secondary
#9FC669
accent
#E741A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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