#6B1472#6B1472

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

Color values

HEX#6B1472
RGBrgb(107, 20, 114)
HSLhsl(296, 70%, 26%)
HSVhsv(296, 82%, 45%)
CMYKcmyk(6.1%, 82.5%, 0%, 55.3%)
CIE-LABlab(26.28, 48.58, -33.43)
CIE-LCHlch(26.28, 58.97, 325.47°)
OKLaboklab(38.59% 0.1317 -0.0933)
OKLCHoklch(38.59% 0.161 324.7)
XYZxyz(9.3506, 4.8416, 16.3584)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1472 #1B7214
analogous
#3C1472 #6B1472 #72144A
triadic
#6B1472 #726B14 #14726B
tetradic
#6B1472 #723C14 #1B7214 #144A72
square
#6B1472 #723C14 #1B7214 #144A72
split-complementary
#6B1472 #4A7214 #14723C
monochromatic
#18051A #3A0B3E #6B1472 #9C1DA6 #CC27D9

Accessibility & contrast

On white

10.67
#6B1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6B1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1472
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1472#FFFFFF#000000##FFFFFF
##6B14721.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1472;
/* rgb */ color: rgb(107, 20, 114);
/* oklch */ color: oklch(38.6% 0.161 324.7);
Tailwind
colors: {
  custom: {
    50: '#995e9b',
    500: '#6b1472',
    950: '#000000',
  },
}
SCSS
$custom: #6b1472;
$custom-light: #995e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1472",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 295.532,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3859,
    "c": 0.16137,
    "h": 324.7
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#6B1472
secondary
#42A839
accent
#ED3B48
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1472

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

Preview Lab → · Contrast checker → · Palette generator →

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