#6B1D7D#6B1D7D

#6B1D7D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.162 H 319.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#6B1D7D
RGBrgb(107, 29, 125)
HSLhsl(289, 62%, 30%)
HSVhsv(289, 77%, 49%)
CMYKcmyk(14.4%, 76.8%, 0%, 51%)
CIE-LABlab(28.08, 47.65, -37.54)
CIE-LCHlch(28.08, 60.67, 321.77°)
OKLaboklab(40.1% 0.1224 -0.1054)
OKLCHoklch(40.1% 0.162 319.3)
XYZxyz(10.2040, 5.4857, 19.9194)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D7D #2F7D1D
analogous
#3B1D7D #6B1D7D #7D1D5F
triadic
#6B1D7D #7D6B1D #1D7D6B
tetradic
#6B1D7D #7D3B1D #2F7D1D #1D5F7D
square
#6B1D7D #7D3B1D #2F7D1D #1D5F7D
split-complementary
#6B1D7D #5F7D1D #1D7D3B
monochromatic
#16061A #40114B #6B1D7D #9629AF #B841D3

Accessibility & contrast

On white

10.01
#6B1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6B1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1D7D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D7D#FFFFFF#000000##FFFFFF
##6B1D7D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#6B314C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1d7d;
/* rgb */ color: rgb(107, 29, 125);
/* oklch */ color: oklch(40.1% 0.162 319.3);
Tailwind
colors: {
  custom: {
    50: '#9962a3',
    500: '#6b1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d7d;
$custom-light: #9962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d7d",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 288.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.16153,
    "h": 319.3
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#6B1D7D
secondary
#59B145
accent
#E54261
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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