#6D1B94#6D1B94

#6D1B94 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.185 H 311.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6D1B94
RGBrgb(109, 27, 148)
HSLhsl(281, 69%, 34%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(26.4%, 81.8%, 0%, 42%)
CIE-LABlab(29.85, 53.52, -48.99)
CIE-LCHlch(29.85, 72.56, 317.53°)
OKLaboklab(41.95% 0.1229 -0.1389)
OKLCHoklch(41.95% 0.185 311.5)
XYZxyz(12.0429, 6.1735, 28.5684)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B94 #42941B
analogous
#301B94 #6D1B94 #941B7F
triadic
#6D1B94 #946D1B #1B946D
tetradic
#6D1B94 #94301B #42941B #1B7F94
square
#6D1B94 #94301B #42941B #1B7F94
split-complementary
#6D1B94 #7F941B #1B9430
monochromatic
#21082C #471260 #6D1B94 #9324C8 #AF4BDE

Accessibility & contrast

On white

9.40
#6D1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D1B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B94
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B94#FFFFFF#000000##FFFFFF
##6D1B941.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#683A58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1b94;
/* rgb */ color: rgb(109, 27, 148);
/* oklch */ color: oklch(41.9% 0.185 311.5);
Tailwind
colors: {
  custom: {
    50: '#9b63b4',
    500: '#6d1b94',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b94;
$custom-light: #9b63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b94",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 280.661,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.18545,
    "h": 311.5
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#6D1B94
secondary
#70C04B
accent
#EC3C75
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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