#6B1D83#6B1D83

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

Color values

HEX#6B1D83
RGBrgb(107, 29, 131)
HSLhsl(286, 64%, 31%)
HSVhsv(286, 78%, 51%)
CMYKcmyk(18.3%, 77.9%, 0%, 48.6%)
CIE-LABlab(28.50, 48.87, -40.64)
CIE-LCHlch(28.50, 63.57, 320.25°)
OKLaboklab(40.53% 0.1217 -0.1144)
OKLCHoklch(40.53% 0.167 316.8)
XYZxyz(10.5989, 5.6437, 21.9994)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D83 #35831D
analogous
#381D83 #6B1D83 #831D68
triadic
#6B1D83 #836B1D #1D836B
tetradic
#6B1D83 #83381D #35831D #1D6883
square
#6B1D83 #83381D #35831D #1D6883
split-complementary
#6B1D83 #68831D #1D8338
monochromatic
#19071F #421251 #6B1D83 #9428B5 #B445D6

Accessibility & contrast

On white

9.87
#6B1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1D83
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D83#FFFFFF#000000##FFFFFF
##6B1D831.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1E4581
Tritanopia (blue-blind)
#6A334F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1d83;
/* rgb */ color: rgb(107, 29, 131);
/* oklch */ color: oklch(40.5% 0.167 316.8);
Tailwind
colors: {
  custom: {
    50: '#9962a8',
    500: '#6b1d83',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d83;
$custom-light: #9962a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d83",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 285.882,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.16706,
    "h": 316.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#6B1D83
secondary
#60B646
accent
#E74168
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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