#5C26A7#5C26A7

#5C26A7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.190 H 296.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#5C26A7
RGBrgb(92, 38, 167)
HSLhsl(265, 63%, 40%)
HSVhsv(265, 77%, 65%)
CMYKcmyk(44.9%, 77.2%, 0%, 34.5%)
CIE-LABlab(30.52, 50.86, -59.55)
CIE-LCHlch(30.52, 78.31, 310.50°)
OKLaboklab(42.41% 0.084 -0.1706)
OKLCHoklch(42.41% 0.19 296.2)
XYZxyz(12.0799, 6.4513, 37.1605)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C26A7 #71A726
analogous
#2631A7 #5C26A7 #9C26A7
triadic
#5C26A7 #A75C26 #26A75C
tetradic
#5C26A7 #A72631 #71A726 #26A79C
square
#5C26A7 #A72631 #71A726 #26A79C
split-complementary
#5C26A7 #A79C26 #31A726
monochromatic
#250F43 #411B75 #5C26A7 #7938D2 #9A6ADD

Accessibility & contrast

On white

9.17
#5C26A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5C26A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C26A7
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C26A7#FFFFFF#000000##FFFFFF
##5C26A71.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#474965
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c26a7;
/* rgb */ color: rgb(92, 38, 167);
/* oklch */ color: oklch(42.4% 0.190 296.2);
Tailwind
colors: {
  custom: {
    50: '#9267c2',
    500: '#5c26a7',
    950: '#000000',
  },
}
SCSS
$custom: #5c26a7;
$custom-light: #9267c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c26a7",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 265.116,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.19016,
    "h": 296.2
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#5C26A7
secondary
#9CC365
accent
#E642A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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