#6F2176#6F2176

#6F2176 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.152 H 324.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6F2176
RGBrgb(111, 33, 118)
HSLhsl(295, 56%, 30%)
HSVhsv(295, 72%, 46%)
CMYKcmyk(5.9%, 72%, 0%, 53.7%)
CIE-LABlab(28.84, 45.64, -31.85)
CIE-LCHlch(28.84, 55.65, 325.09°)
OKLaboklab(40.63% 0.1237 -0.0886)
OKLCHoklch(40.63% 0.152 324.4)
XYZxyz(10.3691, 5.7759, 17.7047)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2176 #287621
analogous
#452176 #6F2176 #762153
triadic
#6F2176 #766F21 #21766F
tetradic
#6F2176 #764521 #287621 #215376
square
#6F2176 #764521 #287621 #215376
split-complementary
#6F2176 #537621 #217645
monochromatic
#160718 #421446 #6F2176 #9C2EA6 #C046CB

Accessibility & contrast

On white

9.74
#6F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6F2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2176
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2176#FFFFFF#000000##FFFFFF
##6F21761.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3E78
Deuteranopia (green-blind)
#314774
Tritanopia (blue-blind)
#712F49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2176;
/* rgb */ color: rgb(111, 33, 118);
/* oklch */ color: oklch(40.6% 0.152 324.4);
Tailwind
colors: {
  custom: {
    50: '#9b649e',
    500: '#6f2176',
    950: '#000000',
  },
}
SCSS
$custom: #6f2176;
$custom-light: #9b649e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2176",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 295.059,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.15214,
    "h": 324.4
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#6F2176
secondary
#51A94A
accent
#E04855
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2176

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

Preview Lab → · Contrast checker → · Palette generator →

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