#6D1B97#6D1B97

#6D1B97 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.188 H 310.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6D1B97
RGBrgb(109, 27, 151)
HSLhsl(280, 70%, 35%)
HSVhsv(280, 82%, 59%)
CMYKcmyk(27.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(30.08, 54.16, -50.45)
CIE-LCHlch(30.08, 74.02, 317.03°)
OKLaboklab(42.19% 0.1222 -0.1432)
OKLCHoklch(42.19% 0.188 310.5)
XYZxyz(12.2834, 6.2697, 29.8353)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B97 #45971B
analogous
#2F1B97 #6D1B97 #971B83
triadic
#6D1B97 #976D1B #1B976D
tetradic
#6D1B97 #972F1B #45971B #1B8397
square
#6D1B97 #972F1B #45971B #1B8397
split-complementary
#6D1B97 #83971B #1B972F
monochromatic
#22082F #481263 #6D1B97 #9224CB #AE4DDF

Accessibility & contrast

On white

9.32
#6D1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1B97
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B97#FFFFFF#000000##FFFFFF
##6D1B971.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.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: #6d1b97;
/* rgb */ color: rgb(109, 27, 151);
/* oklch */ color: oklch(42.2% 0.188 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6d1b97',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b97;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b97",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 279.677,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.1882,
    "h": 310.5
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#6D1B97
secondary
#74C14C
accent
#EC3B77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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