#6D1A97#6D1A97

#6D1A97 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.189 H 310.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6D1A97
RGBrgb(109, 26, 151)
HSLhsl(280, 71%, 35%)
HSVhsv(280, 83%, 59%)
CMYKcmyk(27.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(29.97, 54.48, -50.63)
CIE-LCHlch(29.97, 74.37, 317.10°)
OKLaboklab(42.11% 0.1229 -0.1437)
OKLCHoklch(42.11% 0.189 310.5)
XYZxyz(12.2609, 6.2247, 29.8277)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A97 #44971A
analogous
#2F1A97 #6D1A97 #971A83
triadic
#6D1A97 #976D1A #1A976D
tetradic
#6D1A97 #972F1A #44971A #1A8397
square
#6D1A97 #972F1A #44971A #1A8397
split-complementary
#6D1A97 #83971A #1A972F
monochromatic
#22082F #471163 #6D1A97 #9323CB #AE4BE0

Accessibility & contrast

On white

9.35
#6D1A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1A97
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A97#FFFFFF#000000##FFFFFF
##6D1A971.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#673B5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1a97;
/* rgb */ color: rgb(109, 26, 151);
/* oklch */ color: oklch(42.1% 0.189 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c62b6',
    500: '#6d1a97',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a97;
$custom-light: #9c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a97",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 279.84,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.18909,
    "h": 310.5
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#6D1A97
secondary
#73C24B
accent
#ED3A77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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