#6B2173#6B2173

#6B2173 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.8% C 0.147 H 323.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6B2173
RGBrgb(107, 33, 115)
HSLhsl(294, 55%, 29%)
HSVhsv(294, 71%, 45%)
CMYKcmyk(7%, 71.3%, 0%, 54.9%)
CIE-LABlab(27.99, 44.08, -31.34)
CIE-LCHlch(27.99, 54.09, 324.58°)
OKLaboklab(39.83% 0.1188 -0.0873)
OKLCHoklch(39.83% 0.147 323.7)
XYZxyz(9.7015, 5.4519, 16.7577)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2173 #297321
analogous
#422173 #6B2173 #732152
triadic
#6B2173 #736B21 #21736B
tetradic
#6B2173 #734221 #297321 #215273
square
#6B2173 #734221 #297321 #215273
split-complementary
#6B2173 #527321 #217342
monochromatic
#160718 #3F1343 #6B2173 #972FA3 #BD45CA

Accessibility & contrast

On white

10.05
#6B2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2173
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2173#FFFFFF#000000##FFFFFF
##6B21731.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C75
Deuteranopia (green-blind)
#2F4571
Tritanopia (blue-blind)
#6D2F47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b2173;
/* rgb */ color: rgb(107, 33, 115);
/* oklch */ color: oklch(39.8% 0.147 323.7);
Tailwind
colors: {
  custom: {
    50: '#98639c',
    500: '#6b2173',
    950: '#000000',
  },
}
SCSS
$custom: #6b2173;
$custom-light: #98639c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2173",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 294.146,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.14737,
    "h": 323.7
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#6B2173
secondary
#52A649
accent
#DF4958
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2173

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

Preview Lab → · Contrast checker → · Palette generator →

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