#5C269B#5C269B

#5C269B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.177 H 299.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5C269B
RGBrgb(92, 38, 155)
HSLhsl(268, 61%, 38%)
HSVhsv(268, 75%, 61%)
CMYKcmyk(40.6%, 75.5%, 0%, 39.2%)
CIE-LABlab(29.48, 47.77, -53.98)
CIE-LCHlch(29.48, 72.08, 311.51°)
OKLaboklab(41.36% 0.0871 -0.1542)
OKLCHoklch(41.36% 0.177 299.5)
XYZxyz(11.0216, 6.0280, 31.5868)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C269B #659B26
analogous
#262B9B #5C269B #96269B
triadic
#5C269B #9B5C26 #269B5C
tetradic
#5C269B #9B262B #659B26 #269B96
square
#5C269B #9B262B #659B26 #269B96
split-complementary
#5C269B #9B9626 #2B9B26
monochromatic
#220E39 #3F1A6A #5C269B #7932CC #9963D9

Accessibility & contrast

On white

9.52
#5C269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5C269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C269B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C269B#FFFFFF#000000##FFFFFF
##5C269B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#4D445F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c269b;
/* rgb */ color: rgb(92, 38, 155);
/* oklch */ color: oklch(41.4% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#9066b9',
    500: '#5c269b',
    950: '#000000',
  },
}
SCSS
$custom: #5c269b;
$custom-light: #9066b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c269b",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 267.692,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.17713,
    "h": 299.5
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#5C269B
secondary
#92BE5F
accent
#E4449A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C269B

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

Preview Lab → · Contrast checker → · Palette generator →

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