#5D26AE#5D26AE

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

Color values

HEX#5D26AE
RGBrgb(93, 38, 174)
HSLhsl(264, 64%, 42%)
HSVhsv(264, 78%, 68%)
CMYKcmyk(46.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(31.28, 52.82, -62.52)
CIE-LCHlch(31.28, 81.84, 310.19°)
OKLaboklab(43.16% 0.0835 -0.1793)
OKLCHoklch(43.16% 0.198 295)
XYZxyz(12.8452, 6.7690, 40.6660)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D26AE #77AE26
analogous
#2633AE #5D26AE #A126AE
triadic
#5D26AE #AE5D26 #26AE5D
tetradic
#5D26AE #AE2633 #77AE26 #26AEA1
square
#5D26AE #AE2633 #77AE26 #26AEA1
split-complementary
#5D26AE #AEA126 #33AE26
monochromatic
#27104A #421B7C #5D26AE #7A3DD5 #9C6FE0

Accessibility & contrast

On white

8.92
#5D26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5D26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D26AE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D26AE#FFFFFF#000000##FFFFFF
##5D26AE1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d26ae;
/* rgb */ color: rgb(93, 38, 174);
/* oklch */ color: oklch(43.2% 0.198 295.0);
Tailwind
colors: {
  custom: {
    50: '#9367c7',
    500: '#5d26ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d26ae;
$custom-light: #9367c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d26ae",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 264.265,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43155,
    "c": 0.19778,
    "h": 295
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#5D26AE
secondary
#A1C66A
accent
#E741A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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