#5C269D#5C269D

#5C269D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.179 H 298.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#5C269D
RGBrgb(92, 38, 157)
HSLhsl(267, 61%, 38%)
HSVhsv(267, 76%, 62%)
CMYKcmyk(41.4%, 75.8%, 0%, 38.4%)
CIE-LABlab(29.65, 48.29, -54.92)
CIE-LCHlch(29.65, 73.13, 311.32°)
OKLaboklab(41.53% 0.0866 -0.157)
OKLCHoklch(41.53% 0.179 298.9)
XYZxyz(11.1910, 6.0957, 32.4787)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C269D #679D26
analogous
#262B9D #5C269D #97269D
triadic
#5C269D #9D5C26 #269D5C
tetradic
#5C269D #9D262B #679D26 #269D97
square
#5C269D #9D262B #679D26 #269D97
split-complementary
#5C269D #9D9726 #2B9D26
monochromatic
#220E3A #3F1A6C #5C269D #7933CE #9964D9

Accessibility & contrast

On white

9.46
#5C269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5C269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C269D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C269D#FFFFFF#000000##FFFFFF
##5C269D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#4C4560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c269d;
/* rgb */ color: rgb(92, 38, 157);
/* oklch */ color: oklch(41.5% 0.179 298.9);
Tailwind
colors: {
  custom: {
    50: '#9066bb',
    500: '#5c269d',
    950: '#000000',
  },
}
SCSS
$custom: #5c269d;
$custom-light: #9066bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c269d",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 267.227,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.17931,
    "h": 298.9
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#5C269D
secondary
#94BF60
accent
#E4449B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C269D

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

Preview Lab → · Contrast checker → · Palette generator →

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