#5C26B0#5C26B0

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

Color values

HEX#5C26B0
RGBrgb(92, 38, 176)
HSLhsl(263, 64%, 42%)
HSVhsv(263, 78%, 69%)
CMYKcmyk(47.7%, 78.4%, 0%, 31%)
CIE-LABlab(31.34, 53.19, -63.62)
CIE-LCHlch(31.34, 82.92, 309.90°)
OKLaboklab(43.23% 0.0814 -0.1825)
OKLCHoklch(43.23% 0.2 294)
XYZxyz(12.9411, 6.7957, 41.6957)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C26B0 #7AB026
analogous
#2635B0 #5C26B0 #A126B0
triadic
#5C26B0 #B05C26 #26B05C
tetradic
#5C26B0 #B02635 #7AB026 #26B0A1
square
#5C26B0 #B02635 #7AB026 #26B0A1
split-complementary
#5C26B0 #B0A126 #35B026
monochromatic
#27104B #421B7E #5C26B0 #793ED5 #9C70E0

Accessibility & contrast

On white

8.90
#5C26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C26B0
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C26B0#FFFFFF#000000##FFFFFF
##5C26B01.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#424D6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5c26b0;
/* rgb */ color: rgb(92, 38, 176);
/* oklch */ color: oklch(43.2% 0.200 294.0);
Tailwind
colors: {
  custom: {
    50: '#9367c9',
    500: '#5c26b0',
    950: '#000000',
  },
}
SCSS
$custom: #5c26b0;
$custom-light: #9367c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c26b0",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 263.478,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.19986,
    "h": 294
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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