#6F2177#6F2177

#6F2177 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.153 H 323.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6F2177
RGBrgb(111, 33, 119)
HSLhsl(294, 57%, 30%)
HSVhsv(294, 72%, 47%)
CMYKcmyk(6.7%, 72.3%, 0%, 53.3%)
CIE-LABlab(28.90, 45.83, -32.39)
CIE-LCHlch(28.90, 56.12, 324.75°)
OKLaboklab(40.7% 0.1236 -0.0902)
OKLCHoklch(40.7% 0.153 323.9)
XYZxyz(10.4289, 5.7998, 18.0193)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2177 #297721
analogous
#442177 #6F2177 #772154
triadic
#6F2177 #776F21 #21776F
tetradic
#6F2177 #774421 #297721 #215477
square
#6F2177 #774421 #297721 #215477
split-complementary
#6F2177 #547721 #217744
monochromatic
#160718 #421447 #6F2177 #9C2EA7 #BF47CC

Accessibility & contrast

On white

9.72
#6F2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2177
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2177#FFFFFF#000000##FFFFFF
##6F21771.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E79
Deuteranopia (green-blind)
#304775
Tritanopia (blue-blind)
#712F49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2177;
/* rgb */ color: rgb(111, 33, 119);
/* oklch */ color: oklch(40.7% 0.153 323.9);
Tailwind
colors: {
  custom: {
    50: '#9b649f',
    500: '#6f2177',
    950: '#000000',
  },
}
SCSS
$custom: #6f2177;
$custom-light: #9b649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2177",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 294.419,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40698,
    "c": 0.15305,
    "h": 323.9
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#6F2177
secondary
#53AA4A
accent
#E04856
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2177

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

Preview Lab → · Contrast checker → · Palette generator →

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