#6B1B7D#6B1B7D

#6B1B7D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.164 H 319.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6B1B7D
RGBrgb(107, 27, 125)
HSLhsl(289, 64%, 30%)
HSVhsv(289, 78%, 49%)
CMYKcmyk(14.4%, 78.4%, 0%, 51%)
CIE-LABlab(27.82, 48.39, -37.95)
CIE-LCHlch(27.82, 61.50, 321.89°)
OKLaboklab(39.92% 0.1244 -0.1065)
OKLCHoklch(39.92% 0.164 319.4)
XYZxyz(10.1565, 5.3908, 19.9036)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B7D #2D7D1B
analogous
#3A1B7D #6B1B7D #7D1B5E
triadic
#6B1B7D #7D6B1B #1B7D6B
tetradic
#6B1B7D #7D3A1B #2D7D1B #1B5E7D
square
#6B1B7D #7D3A1B #2D7D1B #1B5E7D
split-complementary
#6B1B7D #5E7D1B #1B7D3A
monochromatic
#160519 #40104B #6B1B7D #9626AF #B93DD5

Accessibility & contrast

On white

10.11
#6B1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6B1B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B7D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B7D#FFFFFF#000000##FFFFFF
##6B1B7D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#6B2F4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1b7d;
/* rgb */ color: rgb(107, 27, 125);
/* oklch */ color: oklch(39.9% 0.164 319.4);
Tailwind
colors: {
  custom: {
    50: '#9961a3',
    500: '#6b1b7d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b7d;
$custom-light: #9961a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b7d",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 288.98,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.16377,
    "h": 319.4
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#6B1B7D
secondary
#57B143
accent
#E7405F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B1B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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