#6B1A7B#6B1A7B

#6B1A7B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.163 H 320.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6B1A7B
RGBrgb(107, 26, 123)
HSLhsl(290, 65%, 29%)
HSVhsv(290, 79%, 48%)
CMYKcmyk(13%, 78.9%, 0%, 51.8%)
CIE-LABlab(27.56, 48.34, -37.11)
CIE-LCHlch(27.56, 60.94, 322.49°)
OKLaboklab(39.69% 0.1255 -0.1041)
OKLCHoklch(39.69% 0.163 320.3)
XYZxyz(10.0075, 5.2952, 19.2300)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A7B #2A7B1A
analogous
#3B1A7B #6B1A7B #7B1A5B
triadic
#6B1A7B #7B6B1A #1A7B6B
tetradic
#6B1A7B #7B3B1A #2A7B1A #1A5B7B
square
#6B1A7B #7B3B1A #2A7B1A #1A5B7B
split-complementary
#6B1A7B #5B7B1A #1A7B3B
monochromatic
#160519 #3F0F48 #6B1A7B #9725AE #BC3AD5

Accessibility & contrast

On white

10.20
#6B1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6B1A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A7B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A7B#FFFFFF#000000##FFFFFF
##6B1A7B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#244479
Tritanopia (blue-blind)
#6B2E4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1a7b;
/* rgb */ color: rgb(107, 26, 123);
/* oklch */ color: oklch(39.7% 0.163 320.3);
Tailwind
colors: {
  custom: {
    50: '#9961a2',
    500: '#6b1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a7b;
$custom-light: #9961a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a7b",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 290.103,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.16306,
    "h": 320.3
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#6B1A7B
secondary
#54AF42
accent
#E8405B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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