#5D269D#5D269D

#5D269D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.179 H 299.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5D269D
RGBrgb(93, 38, 157)
HSLhsl(268, 61%, 38%)
HSVhsv(268, 76%, 62%)
CMYKcmyk(40.8%, 75.8%, 0%, 38.4%)
CIE-LABlab(29.78, 48.46, -54.70)
CIE-LCHlch(29.78, 73.08, 311.54°)
OKLaboklab(41.65% 0.0881 -0.1563)
OKLCHoklch(41.65% 0.179 299.4)
XYZxyz(11.2916, 6.1476, 32.4835)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D269D #669D26
analogous
#262A9D #5D269D #98269D
triadic
#5D269D #9D5D26 #269D5D
tetradic
#5D269D #9D262A #669D26 #269D98
square
#5D269D #9D262A #669D26 #269D98
split-complementary
#5D269D #9D9826 #2A9D26
monochromatic
#230E3A #401A6C #5D269D #7A33CE #9A64D9

Accessibility & contrast

On white

9.42
#5D269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5D269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D269D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D269D#FFFFFF#000000##FFFFFF
##5D269D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#4E4560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d269d;
/* rgb */ color: rgb(93, 38, 157);
/* oklch */ color: oklch(41.6% 0.179 299.4);
Tailwind
colors: {
  custom: {
    50: '#9166bb',
    500: '#5d269d',
    950: '#000000',
  },
}
SCSS
$custom: #5d269d;
$custom-light: #9166bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d269d",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 267.731,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41649,
    "c": 0.17944,
    "h": 299.4
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#5D269D
secondary
#93BF60
accent
#E4449A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5D269D

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

Preview Lab → · Contrast checker → · Palette generator →

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