#6B2172#6B2172

#6B2172 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.146 H 324.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#6B2172
RGBrgb(107, 33, 114)
HSLhsl(295, 55%, 29%)
HSVhsv(295, 71%, 45%)
CMYKcmyk(6.1%, 71.1%, 0%, 55.3%)
CIE-LABlab(27.92, 43.88, -30.80)
CIE-LCHlch(27.92, 53.62, 324.93°)
OKLaboklab(39.76% 0.1188 -0.0857)
OKLCHoklch(39.76% 0.146 324.2)
XYZxyz(9.6443, 5.4290, 16.4562)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2172 #287221
analogous
#432172 #6B2172 #722151
triadic
#6B2172 #726B21 #21726B
tetradic
#6B2172 #724321 #287221 #215172
square
#6B2172 #724321 #287221 #215172
split-complementary
#6B2172 #517221 #217243
monochromatic
#160718 #3E1343 #6B2172 #982FA1 #BE44C9

Accessibility & contrast

On white

10.07
#6B2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6B2172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2172
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2172#FFFFFF#000000##FFFFFF
##6B21721.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C74
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#6D2E47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b2172;
/* rgb */ color: rgb(107, 33, 114);
/* oklch */ color: oklch(39.8% 0.146 324.2);
Tailwind
colors: {
  custom: {
    50: '#98639b',
    500: '#6b2172',
    950: '#000000',
  },
}
SCSS
$custom: #6b2172;
$custom-light: #98639b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2172",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 294.815,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.14644,
    "h": 324.2
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#6B2172
secondary
#51A549
accent
#DE4956
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2172

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

Preview Lab → · Contrast checker → · Palette generator →

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