#5E26AF#5E26AF

#5E26AF is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.199 H 295.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#5E26AF
RGBrgb(94, 38, 175)
HSLhsl(265, 64%, 42%)
HSVhsv(265, 78%, 69%)
CMYKcmyk(46.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(31.49, 53.22, -62.77)
CIE-LCHlch(31.49, 82.29, 310.30°)
OKLaboklab(43.36% 0.0848 -0.1799)
OKLCHoklch(43.36% 0.199 295.2)
XYZxyz(13.0450, 6.8607, 41.1861)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E26AF #77AF26
analogous
#2632AF #5E26AF #A326AF
triadic
#5E26AF #AF5E26 #26AF5E
tetradic
#5E26AF #AF2632 #77AF26 #26AFA3
square
#5E26AF #AF2632 #77AF26 #26AFA3
split-complementary
#5E26AF #AFA326 #32AF26
monochromatic
#28104A #431B7D #5E26AF #7B3DD5 #9D70E0

Accessibility & contrast

On white

8.85
#5E26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5E26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E26AF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E26AF#FFFFFF#000000##FFFFFF
##5E26AF1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#474C6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e26af;
/* rgb */ color: rgb(94, 38, 175);
/* oklch */ color: oklch(43.4% 0.199 295.2);
Tailwind
colors: {
  custom: {
    50: '#9467c8',
    500: '#5e26af',
    950: '#000000',
  },
}
SCSS
$custom: #5e26af;
$custom-light: #9467c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e26af",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 264.526,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43358,
    "c": 0.19891,
    "h": 295.2
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#5E26AF
secondary
#A1C76A
accent
#E740A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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