#6B1872#6B1872

#6B1872 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.157 H 324.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#6B1872
RGBrgb(107, 24, 114)
HSLhsl(295, 65%, 27%)
HSVhsv(295, 79%, 45%)
CMYKcmyk(6.1%, 78.9%, 0%, 55.3%)
CIE-LABlab(26.72, 47.31, -32.72)
CIE-LCHlch(26.72, 57.52, 325.33°)
OKLaboklab(38.9% 0.1282 -0.0912)
OKLCHoklch(38.9% 0.157 324.6)
XYZxyz(9.4271, 4.9946, 16.3838)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1872 #1F7218
analogous
#3E1872 #6B1872 #72184C
triadic
#6B1872 #726B18 #18726B
tetradic
#6B1872 #723E18 #1F7218 #184C72
square
#6B1872 #723E18 #1F7218 #184C72
split-complementary
#6B1872 #4C7218 #18723E
monochromatic
#180519 #3C0D3F #6B1872 #9A23A5 #C731D4

Accessibility & contrast

On white

10.51
#6B1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6B1872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1872
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1872#FFFFFF#000000##FFFFFF
##6B18721.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2A4370
Tritanopia (blue-blind)
#6D2944
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1872;
/* rgb */ color: rgb(107, 24, 114);
/* oklch */ color: oklch(38.9% 0.157 324.6);
Tailwind
colors: {
  custom: {
    50: '#995f9b',
    500: '#6b1872',
    950: '#000000',
  },
}
SCSS
$custom: #6b1872;
$custom-light: #995f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1872",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 295.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.15734,
    "h": 324.6
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#6B1872
secondary
#47A73E
accent
#E8404D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1872

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

Preview Lab → · Contrast checker → · Palette generator →

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