#5D269E#5D269E

#5D269E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.181 H 299.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#5D269E
RGBrgb(93, 38, 158)
HSLhsl(268, 61%, 38%)
HSVhsv(268, 76%, 62%)
CMYKcmyk(41.1%, 75.9%, 0%, 38%)
CIE-LABlab(29.87, 48.72, -55.17)
CIE-LCHlch(29.87, 73.60, 311.44°)
OKLaboklab(41.74% 0.0879 -0.1577)
OKLCHoklch(41.74% 0.181 299.1)
XYZxyz(11.3773, 6.1819, 32.9349)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D269E #679E26
analogous
#262B9E #5D269E #99269E
triadic
#5D269E #9E5D26 #269E5D
tetradic
#5D269E #9E262B #679E26 #269E99
square
#5D269E #9E262B #679E26 #269E99
split-complementary
#5D269E #9E9926 #2B9E26
monochromatic
#230E3B #401A6D #5D269E #7A33CE #9A65DA

Accessibility & contrast

On white

9.39
#5D269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5D269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D269E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D269E#FFFFFF#000000##FFFFFF
##5D269E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#4D4560
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5d269e;
/* rgb */ color: rgb(93, 38, 158);
/* oklch */ color: oklch(41.7% 0.181 299.1);
Tailwind
colors: {
  custom: {
    50: '#9166bc',
    500: '#5d269e',
    950: '#000000',
  },
}
SCSS
$custom: #5d269e;
$custom-light: #9166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d269e",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 267.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.18053,
    "h": 299.1
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#5D269E
secondary
#94C060
accent
#E4439B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5D269E

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

Preview Lab → · Contrast checker → · Palette generator →

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