#6D1C8B#6D1C8B

#6D1C8B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.176 H 314.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6D1C8B
RGBrgb(109, 28, 139)
HSLhsl(284, 66%, 33%)
HSVhsv(284, 80%, 55%)
CMYKcmyk(21.6%, 79.9%, 0%, 45.5%)
CIE-LABlab(29.28, 51.29, -44.36)
CIE-LCHlch(29.28, 67.81, 319.15°)
OKLaboklab(41.33% 0.124 -0.1253)
OKLCHoklch(41.33% 0.176 314.7)
XYZxyz(11.3813, 5.9462, 24.9693)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C8B #3A8B1C
analogous
#361C8B #6D1C8B #8B1C71
triadic
#6D1C8B #8B6D1C #1C8B6D
tetradic
#6D1C8B #8B361C #3A8B1C #1C718B
square
#6D1C8B #8B361C #3A8B1C #1C718B
split-complementary
#6D1C8B #718B1C #1C8B36
monochromatic
#1D0725 #451258 #6D1C8B #9526BE #B247DA

Accessibility & contrast

On white

9.59
#6D1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6D1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C8B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C8B#FFFFFF#000000##FFFFFF
##6D1C8B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#154789
Tritanopia (blue-blind)
#6A3653
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1c8b;
/* rgb */ color: rgb(109, 28, 139);
/* oklch */ color: oklch(41.3% 0.176 314.7);
Tailwind
colors: {
  custom: {
    50: '#9b63ae',
    500: '#6d1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c8b;
$custom-light: #9b63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c8b",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 283.784,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41333,
    "c": 0.17623,
    "h": 314.7
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#6D1C8B
secondary
#67BC47
accent
#E93E6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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