#5D269A#5D269A

#5D269A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.176 H 300.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#5D269A
RGBrgb(93, 38, 154)
HSLhsl(268, 60%, 38%)
HSVhsv(268, 75%, 60%)
CMYKcmyk(39.6%, 75.3%, 0%, 39.6%)
CIE-LABlab(29.53, 47.70, -53.29)
CIE-LCHlch(29.53, 71.52, 311.83°)
OKLaboklab(41.39% 0.0888 -0.1522)
OKLCHoklch(41.39% 0.176 300.3)
XYZxyz(11.0386, 6.0464, 31.1511)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D269A #639A26
analogous
#26299A #5D269A #97269A
triadic
#5D269A #9A5D26 #269A5D
tetradic
#5D269A #9A2629 #639A26 #269A97
square
#5D269A #9A2629 #639A26 #269A97
split-complementary
#5D269A #9A9726 #299A26
monochromatic
#220E38 #3F1A69 #5D269A #7B32CB #9A62D8

Accessibility & contrast

On white

9.51
#5D269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5D269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D269A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D269A#FFFFFF#000000##FFFFFF
##5D269A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#4F445E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d269a;
/* rgb */ color: rgb(93, 38, 154);
/* oklch */ color: oklch(41.4% 0.176 300.3);
Tailwind
colors: {
  custom: {
    50: '#9166b9',
    500: '#5d269a',
    950: '#000000',
  },
}
SCSS
$custom: #5d269a;
$custom-light: #9166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d269a",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 268.448,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41392,
    "c": 0.17619,
    "h": 300.3
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#5D269A
secondary
#90BE5E
accent
#E44498
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5D269A

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

Preview Lab → · Contrast checker → · Palette generator →

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