#5D26AF#5D26AF

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

Color values

HEX#5D26AF
RGBrgb(93, 38, 175)
HSLhsl(264, 64%, 42%)
HSVhsv(264, 78%, 69%)
CMYKcmyk(46.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(31.37, 53.07, -62.97)
CIE-LCHlch(31.37, 82.35, 310.13°)
OKLaboklab(43.25% 0.0832 -0.1806)
OKLCHoklch(43.25% 0.199 294.7)
XYZxyz(12.9431, 6.8082, 41.1813)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D26AF #78AF26
analogous
#2633AF #5D26AF #A226AF
triadic
#5D26AF #AF5D26 #26AF5D
tetradic
#5D26AF #AF2633 #78AF26 #26AFA2
square
#5D26AF #AF2633 #78AF26 #26AFA2
split-complementary
#5D26AF #AFA226 #33AF26
monochromatic
#28104A #421B7D #5D26AF #7A3DD5 #9D70E0

Accessibility & contrast

On white

8.89
#5D26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D26AF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D26AF#FFFFFF#000000##FFFFFF
##5D26AF1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d26af;
/* rgb */ color: rgb(93, 38, 175);
/* oklch */ color: oklch(43.2% 0.199 294.7);
Tailwind
colors: {
  custom: {
    50: '#9367c8',
    500: '#5d26af',
    950: '#000000',
  },
}
SCSS
$custom: #5d26af;
$custom-light: #9367c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d26af",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 264.088,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.19884,
    "h": 294.7
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#5D26AF
secondary
#A2C76A
accent
#E740A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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