#5E26AE#5E26AE

#5E26AE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.198 H 295.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#5E26AE
RGBrgb(94, 38, 174)
HSLhsl(265, 64%, 42%)
HSVhsv(265, 78%, 68%)
CMYKcmyk(46%, 78.2%, 0%, 31.8%)
CIE-LABlab(31.40, 52.97, -62.32)
CIE-LCHlch(31.40, 81.79, 310.36°)
OKLaboklab(43.27% 0.0851 -0.1786)
OKLCHoklch(43.27% 0.198 295.5)
XYZxyz(12.9471, 6.8216, 40.6707)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E26AE #76AE26
analogous
#2632AE #5E26AE #A226AE
triadic
#5E26AE #AE5E26 #26AE5E
tetradic
#5E26AE #AE2632 #76AE26 #26AEA2
square
#5E26AE #AE2632 #76AE26 #26AEA2
split-complementary
#5E26AE #AEA226 #32AE26
monochromatic
#28104A #431B7C #5E26AE #7B3DD5 #9D6FE0

Accessibility & contrast

On white

8.88
#5E26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E26AE
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E26AE#FFFFFF#000000##FFFFFF
##5E26AE1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#474C69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e26ae;
/* rgb */ color: rgb(94, 38, 174);
/* oklch */ color: oklch(43.3% 0.198 295.5);
Tailwind
colors: {
  custom: {
    50: '#9467c7',
    500: '#5e26ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e26ae;
$custom-light: #9467c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e26ae",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 264.706,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.19785,
    "h": 295.5
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#5E26AE
secondary
#A0C66A
accent
#E741A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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