#6B1372#6B1372

#6B1372 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.162 H 324.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#6B1372
RGBrgb(107, 19, 114)
HSLhsl(296, 71%, 26%)
HSVhsv(296, 83%, 45%)
CMYKcmyk(6.1%, 83.3%, 0%, 55.3%)
CIE-LABlab(26.18, 48.87, -33.59)
CIE-LCHlch(26.18, 59.30, 325.50°)
OKLaboklab(38.52% 0.1325 -0.0937)
OKLCHoklch(38.52% 0.162 324.7)
XYZxyz(9.3333, 4.8071, 16.3526)
Luminance0.0481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1372 #1A7213
analogous
#3B1372 #6B1372 #721349
triadic
#6B1372 #726B13 #13726B
tetradic
#6B1372 #723B13 #1A7213 #134972
square
#6B1372 #723B13 #1A7213 #134972
split-complementary
#6B1372 #497213 #13723B
monochromatic
#19041A #3A0A3E #6B1372 #9C1CA6 #CD25DB

Accessibility & contrast

On white

10.71
#6B1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6B1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1372
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1372#FFFFFF#000000##FFFFFF
##6B13721.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#284170
Tritanopia (blue-blind)
#6D2643
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1372;
/* rgb */ color: rgb(107, 19, 114);
/* oklch */ color: oklch(38.5% 0.162 324.7);
Tailwind
colors: {
  custom: {
    50: '#995e9b',
    500: '#6b1372',
    950: '#000000',
  },
}
SCSS
$custom: #6b1372;
$custom-light: #995e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1372",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 295.579,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.16229,
    "h": 324.7
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#6B1372
secondary
#40A938
accent
#EE3A47
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1372

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

Preview Lab → · Contrast checker → · Palette generator →

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