#5C26C7#5C26C7

#5C26C7 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.224 H 289.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5C26C7
RGBrgb(92, 38, 199)
HSLhsl(260, 68%, 46%)
HSVhsv(260, 81%, 78%)
CMYKcmyk(53.8%, 80.9%, 0%, 22%)
CIE-LABlab(33.53, 59.17, -73.61)
CIE-LCHlch(33.53, 94.44, 308.79°)
OKLaboklab(45.41% 0.0741 -0.2117)
OKLCHoklch(45.41% 0.224 289.3)
XYZxyz(15.4125, 7.7843, 54.7122)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C26C7 #91C726
analogous
#2641C7 #5C26C7 #AD26C7
triadic
#5C26C7 #C75C26 #26C75C
tetradic
#5C26C7 #C72641 #91C726 #26C7AD
square
#5C26C7 #C72641 #91C726 #26C7AD
split-complementary
#5C26C7 #C7AD26 #41C726
monochromatic
#2C1260 #441C94 #5C26C7 #7D4DDD #A381E7

Accessibility & contrast

On white

8.21
#5C26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5C26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C26C7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C26C7#FFFFFF#000000##FFFFFF
##5C26C71.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#315678
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c26c7;
/* rgb */ color: rgb(92, 38, 199);
/* oklch */ color: oklch(45.4% 0.224 289.3);
Tailwind
colors: {
  custom: {
    50: '#9668d9',
    500: '#5c26c7',
    950: '#000000',
  },
}
SCSS
$custom: #5c26c7;
$custom-light: #9668d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c26c7",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 260.124,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.22434,
    "h": 289.3
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#5C26C7
secondary
#B3CF79
accent
#EB3DB1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #5C26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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