#5C26AF#5C26AF

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

Color values

HEX#5C26AF
RGBrgb(92, 38, 175)
HSLhsl(264, 64%, 42%)
HSVhsv(264, 78%, 69%)
CMYKcmyk(47.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(31.25, 52.93, -63.17)
CIE-LCHlch(31.25, 82.41, 309.96°)
OKLaboklab(43.14% 0.0817 -0.1812)
OKLCHoklch(43.14% 0.199 294.3)
XYZxyz(12.8425, 6.7563, 41.1766)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C26AF #79AF26
analogous
#2634AF #5C26AF #A126AF
triadic
#5C26AF #AF5C26 #26AF5C
tetradic
#5C26AF #AF2634 #79AF26 #26AFA1
square
#5C26AF #AF2634 #79AF26 #26AFA1
split-complementary
#5C26AF #AFA126 #34AF26
monochromatic
#27104A #421B7D #5C26AF #793DD5 #9C70E0

Accessibility & contrast

On white

8.93
#5C26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C26AF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C26AF#FFFFFF#000000##FFFFFF
##5C26AF1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c26af;
/* rgb */ color: rgb(92, 38, 175);
/* oklch */ color: oklch(43.1% 0.199 294.3);
Tailwind
colors: {
  custom: {
    50: '#9367c8',
    500: '#5c26af',
    950: '#000000',
  },
}
SCSS
$custom: #5c26af;
$custom-light: #9367c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c26af",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 263.65,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.19878,
    "h": 294.3
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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