#5D2A94#5D2A94

#5D2A94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.165 H 301.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5D2A94
RGBrgb(93, 42, 148)
HSLhsl(269, 56%, 37%)
HSVhsv(269, 72%, 58%)
CMYKcmyk(37.2%, 71.6%, 0%, 42%)
CIE-LABlab(29.72, 44.27, -49.31)
CIE-LCHlch(29.72, 66.27, 311.92°)
OKLaboklab(41.37% 0.086 -0.1405)
OKLCHoklch(41.37% 0.165 301.5)
XYZxyz(10.6862, 6.1211, 28.6297)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2A94 #61942A
analogous
#2A2C94 #5D2A94 #922A94
triadic
#5D2A94 #945D2A #2A945D
tetradic
#5D2A94 #942A2C #61942A #2A9492
square
#5D2A94 #942A2C #61942A #2A9492
split-complementary
#5D2A94 #94922A #2C942A
monochromatic
#210F35 #3F1C64 #5D2A94 #7B38C4 #9A65D3

Accessibility & contrast

On white

9.44
#5D2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2A94
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2A94#FFFFFF#000000##FFFFFF
##5D2A941.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#51435C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d2a94;
/* rgb */ color: rgb(93, 42, 148);
/* oklch */ color: oklch(41.4% 0.165 301.5);
Tailwind
colors: {
  custom: {
    50: '#9068b4',
    500: '#5d2a94',
    950: '#000000',
  },
}
SCSS
$custom: #5d2a94;
$custom-light: #9068b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2a94",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 268.868,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.16474,
    "h": 301.5
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#5D2A94
secondary
#8FB960
accent
#DF4997
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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