#6D1E97#6D1E97

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

Color values

HEX#6D1E97
RGBrgb(109, 30, 151)
HSLhsl(279, 67%, 35%)
HSVhsv(279, 80%, 59%)
CMYKcmyk(27.8%, 80.1%, 0%, 40.8%)
CIE-LABlab(30.43, 53.14, -49.88)
CIE-LCHlch(30.43, 72.88, 316.81°)
OKLaboklab(42.43% 0.1198 -0.1415)
OKLCHoklch(42.43% 0.185 310.2)
XYZxyz(12.3558, 6.4144, 29.8594)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E97 #48971E
analogous
#311E97 #6D1E97 #971E84
triadic
#6D1E97 #976D1E #1E976D
tetradic
#6D1E97 #97311E #48971E #1E8497
square
#6D1E97 #97311E #48971E #1E8497
split-complementary
#6D1E97 #84971E #1E9731
monochromatic
#230A31 #481464 #6D1E97 #9228CA #AD53DD

Accessibility & contrast

On white

9.20
#6D1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1E97
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E97#FFFFFF#000000##FFFFFF
##6D1E971.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#673C5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1e97;
/* rgb */ color: rgb(109, 30, 151);
/* oklch */ color: oklch(42.4% 0.185 310.2);
Tailwind
colors: {
  custom: {
    50: '#9c64b6',
    500: '#6d1e97',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e97;
$custom-light: #9c64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e97",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 279.174,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.18538,
    "h": 310.2
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#6D1E97
secondary
#77C051
accent
#EA3E7A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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