#6B1572#6B1572

#6B1572 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.160 H 324.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#6B1572
RGBrgb(107, 21, 114)
HSLhsl(295, 69%, 26%)
HSVhsv(295, 82%, 45%)
CMYKcmyk(6.1%, 81.6%, 0%, 55.3%)
CIE-LABlab(26.38, 48.28, -33.26)
CIE-LCHlch(26.38, 58.63, 325.44°)
OKLaboklab(38.66% 0.1309 -0.0928)
OKLCHoklch(38.66% 0.16 324.7)
XYZxyz(9.3686, 4.8777, 16.3644)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1572 #1C7215
analogous
#3D1572 #6B1572 #72154B
triadic
#6B1572 #726B15 #15726B
tetradic
#6B1572 #723D15 #1C7215 #154B72
square
#6B1572 #723D15 #1C7215 #154B72
split-complementary
#6B1572 #4B7215 #15723D
monochromatic
#18051A #3A0B3E #6B1572 #9C1FA6 #CB2AD8

Accessibility & contrast

On white

10.63
#6B1572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6B1572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1572
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1572#FFFFFF#000000##FFFFFF
##6B15721.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1572;
/* rgb */ color: rgb(107, 21, 114);
/* oklch */ color: oklch(38.7% 0.160 324.7);
Tailwind
colors: {
  custom: {
    50: '#995e9b',
    500: '#6b1572',
    950: '#000000',
  },
}
SCSS
$custom: #6b1572;
$custom-light: #995e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1572",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 295.484,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.16041,
    "h": 324.7
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#6B1572
secondary
#43A83B
accent
#EC3C49
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1572

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

Preview Lab → · Contrast checker → · Palette generator →

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