#6B1A7A#6B1A7A

#6B1A7A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.162 H 320.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#6B1A7A
RGBrgb(107, 26, 122)
HSLhsl(291, 65%, 29%)
HSVhsv(291, 79%, 48%)
CMYKcmyk(12.3%, 78.7%, 0%, 52.2%)
CIE-LABlab(27.49, 48.15, -36.58)
CIE-LCHlch(27.49, 60.47, 322.77°)
OKLaboklab(39.62% 0.1256 -0.1025)
OKLCHoklch(39.62% 0.162 320.8)
XYZxyz(9.9452, 5.2703, 18.9020)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A7A #297A1A
analogous
#3B1A7A #6B1A7A #7A1A59
triadic
#6B1A7A #7A6B1A #1A7A6B
tetradic
#6B1A7A #7A3B1A #297A1A #1A597A
square
#6B1A7A #7A3B1A #297A1A #1A597A
split-complementary
#6B1A7A #597A1A #1A7A3B
monochromatic
#160519 #3F0F48 #6B1A7A #9725AC #BD39D5

Accessibility & contrast

On white

10.22
#6B1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6B1A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A7A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A7A#FFFFFF#000000##FFFFFF
##6B1A7A1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#6C2E49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1a7a;
/* rgb */ color: rgb(107, 26, 122);
/* oklch */ color: oklch(39.6% 0.162 320.8);
Tailwind
colors: {
  custom: {
    50: '#9961a1',
    500: '#6b1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a7a;
$custom-light: #9961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a7a",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 290.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.16217,
    "h": 320.8
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#6B1A7A
secondary
#52AE41
accent
#E8405A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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