#5C269F#5C269F

#5C269F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.181 H 298.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5C269F
RGBrgb(92, 38, 159)
HSLhsl(267, 61%, 39%)
HSVhsv(267, 76%, 62%)
CMYKcmyk(42.1%, 76.1%, 0%, 37.6%)
CIE-LABlab(29.82, 48.80, -55.86)
CIE-LCHlch(29.82, 74.17, 311.14°)
OKLaboklab(41.7% 0.0861 -0.1597)
OKLCHoklch(41.7% 0.181 298.3)
XYZxyz(11.3631, 6.1646, 33.3854)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C269F #699F26
analogous
#262C9F #5C269F #98269F
triadic
#5C269F #9F5C26 #269F5C
tetradic
#5C269F #9F262C #699F26 #269F98
square
#5C269F #9F262C #699F26 #269F98
split-complementary
#5C269F #9F9826 #2C9F26
monochromatic
#230E3C #3F1A6E #5C269F #7934CE #9965DA

Accessibility & contrast

On white

9.40
#5C269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5C269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C269F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C269F#FFFFFF#000000##FFFFFF
##5C269F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4B4661
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c269f;
/* rgb */ color: rgb(92, 38, 159);
/* oklch */ color: oklch(41.7% 0.181 298.3);
Tailwind
colors: {
  custom: {
    50: '#9166bc',
    500: '#5c269f',
    950: '#000000',
  },
}
SCSS
$custom: #5c269f;
$custom-light: #9166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c269f",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 266.777,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.18148,
    "h": 298.3
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#5C269F
secondary
#96C061
accent
#E5439D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C269F

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

Preview Lab → · Contrast checker → · Palette generator →

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