#5C26AD#5C26AD

#5C26AD is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.197 H 294.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5C26AD
RGBrgb(92, 38, 173)
HSLhsl(264, 64%, 41%)
HSVhsv(264, 78%, 68%)
CMYKcmyk(46.8%, 78%, 0%, 32.2%)
CIE-LABlab(31.06, 52.41, -62.27)
CIE-LCHlch(31.06, 81.39, 310.08°)
OKLaboklab(42.95% 0.0823 -0.1786)
OKLCHoklch(42.95% 0.197 294.7)
XYZxyz(12.6475, 6.6783, 40.1497)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C26AD #77AD26
analogous
#2634AD #5C26AD #A026AD
triadic
#5C26AD #AD5C26 #26AD5C
tetradic
#5C26AD #AD2634 #77AD26 #26ADA0
square
#5C26AD #AD2634 #77AD26 #26ADA0
split-complementary
#5C26AD #ADA026 #34AD26
monochromatic
#271049 #411B7B #5C26AD #793CD4 #9B6EDF

Accessibility & contrast

On white

8.99
#5C26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5C26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C26AD
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C26AD#FFFFFF#000000##FFFFFF
##5C26AD1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#444C69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c26ad;
/* rgb */ color: rgb(92, 38, 173);
/* oklch */ color: oklch(43.0% 0.197 294.7);
Tailwind
colors: {
  custom: {
    50: '#9267c7',
    500: '#5c26ad',
    950: '#000000',
  },
}
SCSS
$custom: #5c26ad;
$custom-light: #9267c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c26ad",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 264,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.19664,
    "h": 294.7
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#5C26AD
secondary
#A1C669
accent
#E741A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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