#6B1E7D#6B1E7D

#6B1E7D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.160 H 319.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#6B1E7D
RGBrgb(107, 30, 125)
HSLhsl(289, 61%, 30%)
HSVhsv(289, 76%, 49%)
CMYKcmyk(14.4%, 76%, 0%, 51%)
CIE-LABlab(28.21, 47.27, -37.33)
CIE-LCHlch(28.21, 60.24, 321.70°)
OKLaboklab(40.2% 0.1214 -0.1047)
OKLCHoklch(40.2% 0.16 319.2)
XYZxyz(10.2289, 5.5355, 19.9277)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E7D #307D1E
analogous
#3C1E7D #6B1E7D #7D1E5F
triadic
#6B1E7D #7D6B1E #1E7D6B
tetradic
#6B1E7D #7D3C1E #307D1E #1E5F7D
square
#6B1E7D #7D3C1E #307D1E #1E5F7D
split-complementary
#6B1E7D #5F7D1E #1E7D3C
monochromatic
#17061A #41124C #6B1E7D #952AAE #B743D2

Accessibility & contrast

On white

9.97
#6B1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6B1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1E7D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E7D#FFFFFF#000000##FFFFFF
##6B1E7D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1e7d;
/* rgb */ color: rgb(107, 30, 125);
/* oklch */ color: oklch(40.2% 0.160 319.2);
Tailwind
colors: {
  custom: {
    50: '#9962a3',
    500: '#6b1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e7d;
$custom-light: #9962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e7d",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 288.632,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.16037,
    "h": 319.2
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#6B1E7D
secondary
#5BB046
accent
#E44362
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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