#5D2289#5D2289

#5D2289 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.163 H 306.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5D2289
RGBrgb(93, 34, 137)
HSLhsl(274, 60%, 34%)
HSVhsv(274, 75%, 54%)
CMYKcmyk(32.1%, 75.2%, 0%, 46.3%)
CIE-LABlab(27.51, 45.31, -46.09)
CIE-LCHlch(27.51, 64.63, 314.51°)
OKLaboklab(39.53% 0.0964 -0.131)
OKLCHoklch(39.53% 0.163 306.3)
XYZxyz(9.6006, 5.2774, 24.1749)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2289 #4E8922
analogous
#292289 #5D2289 #892281
triadic
#5D2289 #895D22 #22895D
tetradic
#5D2289 #892922 #4E8922 #228189
square
#5D2289 #892922 #4E8922 #228189
split-complementary
#5D2289 #818922 #228929
monochromatic
#1A0A27 #3C1658 #5D2289 #7E2EBA #9C51D4

Accessibility & contrast

On white

10.22
#5D2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5D2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2289
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2289#FFFFFF#000000##FFFFFF
##5D22891.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#553B54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d2289;
/* rgb */ color: rgb(93, 34, 137);
/* oklch */ color: oklch(39.5% 0.163 306.3);
Tailwind
colors: {
  custom: {
    50: '#8f63ac',
    500: '#5d2289',
    950: '#000000',
  },
}
SCSS
$custom: #5d2289;
$custom-light: #8f63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2289",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 274.369,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.16261,
    "h": 306.3
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#5D2289
secondary
#7CB84F
accent
#E34488
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2289

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

Preview Lab → · Contrast checker → · Palette generator →

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