#5C269A#5C269A

#5C269A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.176 H 299.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#5C269A
RGBrgb(92, 38, 154)
HSLhsl(268, 60%, 38%)
HSVhsv(268, 75%, 60%)
CMYKcmyk(40.3%, 75.3%, 0%, 39.6%)
CIE-LABlab(29.40, 47.52, -53.51)
CIE-LCHlch(29.40, 71.56, 311.61°)
OKLaboklab(41.27% 0.0873 -0.1528)
OKLCHoklch(41.27% 0.176 299.7)
XYZxyz(10.9380, 5.9945, 31.1464)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C269A #649A26
analogous
#262A9A #5C269A #96269A
triadic
#5C269A #9A5C26 #269A5C
tetradic
#5C269A #9A262A #649A26 #269A96
square
#5C269A #9A262A #649A26 #269A96
split-complementary
#5C269A #9A9626 #2A9A26
monochromatic
#210E38 #3F1A69 #5C269A #7932CB #9962D8

Accessibility & contrast

On white

9.55
#5C269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5C269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C269A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C269A#FFFFFF#000000##FFFFFF
##5C269A1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#4D445E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c269a;
/* rgb */ color: rgb(92, 38, 154);
/* oklch */ color: oklch(41.3% 0.176 299.7);
Tailwind
colors: {
  custom: {
    50: '#9066b9',
    500: '#5c269a',
    950: '#000000',
  },
}
SCSS
$custom: #5c269a;
$custom-light: #9066b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c269a",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 267.931,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.17604,
    "h": 299.7
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#5C269A
secondary
#91BE5E
accent
#E44499
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C269A

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

Preview Lab → · Contrast checker → · Palette generator →

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