#5C26A8#5C26A8

#5C26A8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.191 H 296.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#5C26A8
RGBrgb(92, 38, 168)
HSLhsl(265, 63%, 40%)
HSVhsv(265, 77%, 66%)
CMYKcmyk(45.2%, 77.4%, 0%, 34.1%)
CIE-LABlab(30.61, 51.11, -60.01)
CIE-LCHlch(30.61, 78.83, 310.42°)
OKLaboklab(42.5% 0.0837 -0.1719)
OKLCHoklch(42.5% 0.191 296)
XYZxyz(12.1727, 6.4884, 37.6492)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C26A8 #72A826
analogous
#2631A8 #5C26A8 #9D26A8
triadic
#5C26A8 #A85C26 #26A85C
tetradic
#5C26A8 #A82631 #72A826 #26A89D
square
#5C26A8 #A82631 #72A826 #26A89D
split-complementary
#5C26A8 #A89D26 #31A826
monochromatic
#250F44 #411B76 #5C26A8 #7939D2 #9B6BDE

Accessibility & contrast

On white

9.14
#5C26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5C26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C26A8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C26A8#FFFFFF#000000##FFFFFF
##5C26A81.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#474966
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c26a8;
/* rgb */ color: rgb(92, 38, 168);
/* oklch */ color: oklch(42.5% 0.191 296.0);
Tailwind
colors: {
  custom: {
    50: '#9267c3',
    500: '#5c26a8',
    950: '#000000',
  },
}
SCSS
$custom: #5c26a8;
$custom-light: #9267c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c26a8",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 264.923,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.19124,
    "h": 296
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#5C26A8
secondary
#9DC466
accent
#E642A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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