#6D1E96#6D1E96

#6D1E96 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.184 H 310.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6D1E96
RGBrgb(109, 30, 150)
HSLhsl(280, 67%, 35%)
HSVhsv(280, 80%, 59%)
CMYKcmyk(27.3%, 80%, 0%, 41.2%)
CIE-LABlab(30.36, 52.92, -49.39)
CIE-LCHlch(30.36, 72.39, 316.98°)
OKLaboklab(42.36% 0.12 -0.1401)
OKLCHoklch(42.36% 0.184 310.6)
XYZxyz(12.2749, 6.3821, 29.4335)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E96 #47961E
analogous
#311E96 #6D1E96 #961E83
triadic
#6D1E96 #966D1E #1E966D
tetradic
#6D1E96 #96311E #47961E #1E8396
square
#6D1E96 #96311E #47961E #1E8396
split-complementary
#6D1E96 #83961E #1E9631
monochromatic
#230A30 #481463 #6D1E96 #9228C9 #AD52DC

Accessibility & contrast

On white

9.23
#6D1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6D1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1E96
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E96#FFFFFF#000000##FFFFFF
##6D1E961.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#673C5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1e96;
/* rgb */ color: rgb(109, 30, 150);
/* oklch */ color: oklch(42.4% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#9b64b6',
    500: '#6d1e96',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e96;
$custom-light: #9b64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e96",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 279.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.18444,
    "h": 310.6
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#6D1E96
secondary
#76BF50
accent
#EA3E79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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