#6B1D82#6B1D82

#6B1D82 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.166 H 317.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6B1D82
RGBrgb(107, 29, 130)
HSLhsl(286, 64%, 31%)
HSVhsv(286, 78%, 51%)
CMYKcmyk(17.7%, 77.7%, 0%, 49%)
CIE-LABlab(28.42, 48.67, -40.13)
CIE-LCHlch(28.42, 63.08, 320.49°)
OKLaboklab(40.46% 0.1218 -0.1129)
OKLCHoklch(40.46% 0.166 317.2)
XYZxyz(10.5314, 5.6167, 21.6442)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D82 #34821D
analogous
#381D82 #6B1D82 #821D66
triadic
#6B1D82 #826B1D #1D826B
tetradic
#6B1D82 #82381D #34821D #1D6682
square
#6B1D82 #82381D #34821D #1D6682
split-complementary
#6B1D82 #66821D #1D8238
monochromatic
#19071E #421250 #6B1D82 #9428B4 #B444D5

Accessibility & contrast

On white

9.89
#6B1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1D82
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D82#FFFFFF#000000##FFFFFF
##6B1D821.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#1F4580
Tritanopia (blue-blind)
#6A334E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1d82;
/* rgb */ color: rgb(107, 29, 130);
/* oklch */ color: oklch(40.5% 0.166 317.2);
Tailwind
colors: {
  custom: {
    50: '#9962a7',
    500: '#6b1d82',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d82;
$custom-light: #9962a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d82",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 286.337,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.16613,
    "h": 317.2
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#6B1D82
secondary
#5FB546
accent
#E74167
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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