#6B1D8D#6B1D8D

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

Color values

HEX#6B1D8D
RGBrgb(107, 29, 141)
HSLhsl(282, 66%, 33%)
HSVhsv(282, 79%, 55%)
CMYKcmyk(24.1%, 79.4%, 0%, 44.7%)
CIE-LABlab(29.23, 50.97, -45.69)
CIE-LCHlch(29.23, 68.45, 318.13°)
OKLaboklab(41.28% 0.12 -0.1293)
OKLCHoklch(41.28% 0.176 312.9)
XYZxyz(11.3096, 5.9280, 25.7426)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D8D #3F8D1D
analogous
#331D8D #6B1D8D #8D1D77
triadic
#6B1D8D #8D6B1D #1D8D6B
tetradic
#6B1D8D #8D331D #3F8D1D #1D778D
square
#6B1D8D #8D331D #3F8D1D #1D778D
split-complementary
#6B1D8D #778D1D #1D8D33
monochromatic
#1E0827 #44135A #6B1D8D #9227C0 #AE4BDA

Accessibility & contrast

On white

9.61
#6B1D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1D8D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D8D#FFFFFF#000000##FFFFFF
##6B1D8D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#0D468B
Tritanopia (blue-blind)
#673855
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1d8d;
/* rgb */ color: rgb(107, 29, 141);
/* oklch */ color: oklch(41.3% 0.176 312.9);
Tailwind
colors: {
  custom: {
    50: '#9a63af',
    500: '#6b1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d8d;
$custom-light: #9a63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d8d",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 281.786,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.17638,
    "h": 312.9
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#6B1D8D
secondary
#6CBC4A
accent
#E93F73
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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