#6D1B96#6D1B96

#6D1B96 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.187 H 310.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6D1B96
RGBrgb(109, 27, 150)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 82%, 59%)
CMYKcmyk(27.3%, 82%, 0%, 41.2%)
CIE-LABlab(30.00, 53.94, -49.97)
CIE-LCHlch(30.00, 73.53, 317.19°)
OKLaboklab(42.11% 0.1224 -0.1417)
OKLCHoklch(42.11% 0.187 310.8)
XYZxyz(12.2026, 6.2374, 29.4094)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B96 #44961B
analogous
#2F1B96 #6D1B96 #961B82
triadic
#6D1B96 #966D1B #1B966D
tetradic
#6D1B96 #962F1B #44961B #1B8296
square
#6D1B96 #962F1B #44961B #1B8296
split-complementary
#6D1B96 #82961B #1B962F
monochromatic
#22082E #471262 #6D1B96 #9324CA #AE4DDF

Accessibility & contrast

On white

9.34
#6D1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D1B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B96
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B96#FFFFFF#000000##FFFFFF
##6D1B961.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1b96;
/* rgb */ color: rgb(109, 27, 150);
/* oklch */ color: oklch(42.1% 0.187 310.8);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6d1b96',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b96;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b96",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 280,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.18729,
    "h": 310.8
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#6D1B96
secondary
#73C14C
accent
#EC3B76
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1B96

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

Preview Lab → · Contrast checker → · Palette generator →

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