#6D1A96#6D1A96

#6D1A96 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.188 H 310.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6D1A96
RGBrgb(109, 26, 150)
HSLhsl(280, 70%, 35%)
HSVhsv(280, 83%, 59%)
CMYKcmyk(27.3%, 82.7%, 0%, 41.2%)
CIE-LABlab(29.89, 54.27, -50.15)
CIE-LCHlch(29.89, 73.89, 317.26°)
OKLaboklab(42.03% 0.1232 -0.1423)
OKLCHoklch(42.03% 0.188 310.9)
XYZxyz(12.1800, 6.1923, 29.4019)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A96 #43961A
analogous
#2F1A96 #6D1A96 #961A81
triadic
#6D1A96 #966D1A #1A966D
tetradic
#6D1A96 #962F1A #43961A #1A8196
square
#6D1A96 #962F1A #43961A #1A8196
split-complementary
#6D1A96 #81961A #1A962F
monochromatic
#21082E #471162 #6D1A96 #9323CA #AE4BE0

Accessibility & contrast

On white

9.38
#6D1A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D1A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A96
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A96#FFFFFF#000000##FFFFFF
##6D1A961.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#673A59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1a96;
/* rgb */ color: rgb(109, 26, 150);
/* oklch */ color: oklch(42.0% 0.188 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c62b6',
    500: '#6d1a96',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a96;
$custom-light: #9c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a96",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 280.161,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.18819,
    "h": 310.9
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#6D1A96
secondary
#72C24A
accent
#ED3B76
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1A96

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

Preview Lab → · Contrast checker → · Palette generator →

#6D1A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva