#6F2172#6F2172

#6F2172 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.149 H 326.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#6F2172
RGBrgb(111, 33, 114)
HSLhsl(298, 55%, 29%)
HSVhsv(298, 71%, 45%)
CMYKcmyk(2.6%, 71.1%, 0%, 55.3%)
CIE-LABlab(28.60, 44.88, -29.69)
CIE-LCHlch(28.60, 53.81, 326.51°)
OKLaboklab(40.38% 0.1237 -0.0824)
OKLCHoklch(40.38% 0.149 326.3)
XYZxyz(10.1365, 5.6828, 16.4793)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2172 #247221
analogous
#472172 #6F2172 #72214D
triadic
#6F2172 #726F21 #21726F
tetradic
#6F2172 #724721 #247221 #214D72
square
#6F2172 #724721 #247221 #214D72
split-complementary
#6F2172 #4D7221 #217247
monochromatic
#170718 #411343 #6F2172 #9D2FA1 #C444C9

Accessibility & contrast

On white

9.83
#6F2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6F2172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2172
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2172#FFFFFF#000000##FFFFFF
##6F21721.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D74
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#722D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f2172;
/* rgb */ color: rgb(111, 33, 114);
/* oklch */ color: oklch(40.4% 0.149 326.3);
Tailwind
colors: {
  custom: {
    50: '#9b649b',
    500: '#6f2172',
    950: '#000000',
  },
}
SCSS
$custom: #6f2172;
$custom-light: #9b649b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2172",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 297.778,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.14856,
    "h": 326.3
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#6F2172
secondary
#4DA549
accent
#DE494F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2172

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

Preview Lab → · Contrast checker → · Palette generator →

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