#5D269B#5D269B

#5D269B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.177 H 300.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5D269B
RGBrgb(93, 38, 155)
HSLhsl(268, 61%, 38%)
HSVhsv(268, 75%, 61%)
CMYKcmyk(40%, 75.5%, 0%, 39.2%)
CIE-LABlab(29.61, 47.95, -53.76)
CIE-LCHlch(29.61, 72.04, 311.73°)
OKLaboklab(41.48% 0.0886 -0.1535)
OKLCHoklch(41.48% 0.177 300)
XYZxyz(11.1222, 6.0798, 31.5915)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D269B #649B26
analogous
#26299B #5D269B #97269B
triadic
#5D269B #9B5D26 #269B5D
tetradic
#5D269B #9B2629 #649B26 #269B97
square
#5D269B #9B2629 #649B26 #269B97
split-complementary
#5D269B #9B9726 #299B26
monochromatic
#220E39 #401A6A #5D269B #7A32CC #9A63D9

Accessibility & contrast

On white

9.48
#5D269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D269B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D269B#FFFFFF#000000##FFFFFF
##5D269B1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#4F445F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d269b;
/* rgb */ color: rgb(93, 38, 155);
/* oklch */ color: oklch(41.5% 0.177 300.0);
Tailwind
colors: {
  custom: {
    50: '#9166b9',
    500: '#5d269b',
    950: '#000000',
  },
}
SCSS
$custom: #5d269b;
$custom-light: #9166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d269b",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 268.205,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.17727,
    "h": 300
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#5D269B
secondary
#91BE5F
accent
#E44499
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5D269B

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

Preview Lab → · Contrast checker → · Palette generator →

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