#6B1471#6B1471

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

Color values

HEX#6B1471
RGBrgb(107, 20, 113)
HSLhsl(296, 70%, 26%)
HSVhsv(296, 82%, 44%)
CMYKcmyk(5.3%, 82.3%, 0%, 55.7%)
CIE-LABlab(26.21, 48.40, -32.89)
CIE-LCHlch(26.21, 58.52, 325.80°)
OKLaboklab(38.52% 0.1318 -0.0917)
OKLCHoklch(38.52% 0.161 325.2)
XYZxyz(9.2940, 4.8190, 16.0602)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1471 #1A7114
analogous
#3C1471 #6B1471 #711448
triadic
#6B1471 #716B14 #14716B
tetradic
#6B1471 #713C14 #1A7114 #144871
square
#6B1471 #713C14 #1A7114 #144871
split-complementary
#6B1471 #487114 #14713C
monochromatic
#19051A #3A0B3D #6B1471 #9C1DA5 #CD27D9

Accessibility & contrast

On white

10.69
#6B1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1471
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1471#FFFFFF#000000##FFFFFF
##6B14711.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#29426F
Tritanopia (blue-blind)
#6E2643
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1471;
/* rgb */ color: rgb(107, 20, 113);
/* oklch */ color: oklch(38.5% 0.161 325.2);
Tailwind
colors: {
  custom: {
    50: '#995e9a',
    500: '#6b1471',
    950: '#000000',
  },
}
SCSS
$custom: #6b1471;
$custom-light: #995e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1471",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 296.129,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.16053,
    "h": 325.2
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#6B1471
secondary
#40A739
accent
#ED3B47
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1471

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

Preview Lab → · Contrast checker → · Palette generator →

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