#5C2A89#5C2A89

#5C2A89 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.152 H 304.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#5C2A89
RGBrgb(92, 42, 137)
HSLhsl(272, 53%, 35%)
HSVhsv(272, 69%, 54%)
CMYKcmyk(32.8%, 69.3%, 0%, 46.3%)
CIE-LABlab(28.74, 41.26, -44.10)
CIE-LCHlch(28.74, 60.39, 313.09°)
OKLaboklab(40.38% 0.0862 -0.1252)
OKLCHoklch(40.38% 0.152 304.5)
XYZxyz(9.7559, 5.7374, 24.2555)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2A89 #57892A
analogous
#2C2A89 #5C2A89 #892A87
triadic
#5C2A89 #895C2A #2A895C
tetradic
#5C2A89 #892C2A #57892A #2A8789
square
#5C2A89 #892C2A #57892A #2A8789
split-complementary
#5C2A89 #87892A #2A892C
monochromatic
#1D0D2B #3D1C5A #5C2A89 #7B38B8 #9A5FCE

Accessibility & contrast

On white

9.78
#5C2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5C2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2A89
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2A89#FFFFFF#000000##FFFFFF
##5C2A891.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#074487
Tritanopia (blue-blind)
#543F56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c2a89;
/* rgb */ color: rgb(92, 42, 137);
/* oklch */ color: oklch(40.4% 0.152 304.5);
Tailwind
colors: {
  custom: {
    50: '#8e67ac',
    500: '#5c2a89',
    950: '#000000',
  },
}
SCSS
$custom: #5c2a89;
$custom-light: #8e67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2a89",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 271.579,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.15203,
    "h": 304.5
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#5C2A89
secondary
#85B45B
accent
#DC4B90
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5C2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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