#5D259A#5D259A

#5D259A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.177 H 300.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#5D259A
RGBrgb(93, 37, 154)
HSLhsl(269, 61%, 37%)
HSVhsv(269, 76%, 60%)
CMYKcmyk(39.6%, 76%, 0%, 39.6%)
CIE-LABlab(29.37, 48.15, -53.55)
CIE-LCHlch(29.37, 72.01, 311.96°)
OKLaboklab(41.28% 0.0898 -0.1529)
OKLCHoklch(41.28% 0.177 300.4)
XYZxyz(11.0071, 5.9833, 31.1406)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D259A #629A25
analogous
#25279A #5D259A #98259A
triadic
#5D259A #9A5D25 #259A5D
tetradic
#5D259A #9A2527 #629A25 #259A98
square
#5D259A #9A2527 #629A25 #259A98
split-complementary
#5D259A #9A9825 #279A25
monochromatic
#210D37 #3F1969 #5D259A #7B31CB #9A60D9

Accessibility & contrast

On white

9.56
#5D259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5D259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D259A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D259A#FFFFFF#000000##FFFFFF
##5D259A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#4F435E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d259a;
/* rgb */ color: rgb(93, 37, 154);
/* oklch */ color: oklch(41.3% 0.177 300.4);
Tailwind
colors: {
  custom: {
    50: '#9165b9',
    500: '#5d259a',
    950: '#000000',
  },
}
SCSS
$custom: #5d259a;
$custom-light: #9165b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d259a",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 268.718,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.17732,
    "h": 300.4
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#5D259A
secondary
#8FBE5D
accent
#E44397
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D259A

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

Preview Lab → · Contrast checker → · Palette generator →

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