#6F177D#6F177D

#6F177D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.170 H 321.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#6F177D
RGBrgb(111, 23, 125)
HSLhsl(292, 69%, 29%)
HSVhsv(292, 82%, 49%)
CMYKcmyk(11.2%, 81.6%, 0%, 51%)
CIE-LABlab(28.04, 50.55, -37.56)
CIE-LCHlch(28.04, 62.98, 323.39°)
OKLaboklab(40.21% 0.1329 -0.1052)
OKLCHoklch(40.21% 0.17 321.6)
XYZxyz(10.5632, 5.4736, 19.8982)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F177D #257D17
analogous
#3C177D #6F177D #7D1758
triadic
#6F177D #7D6F17 #177D6F
tetradic
#6F177D #7D3C17 #257D17 #17587D
square
#6F177D #7D3C17 #257D17 #17587D
split-complementary
#6F177D #587D17 #177D3C
monochromatic
#17051A #410D49 #6F177D #9D21B1 #C335DA

Accessibility & contrast

On white

10.03
#6F177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F177D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F177D#FFFFFF#000000##FFFFFF
##6F177D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#26457B
Tritanopia (blue-blind)
#702D4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f177d;
/* rgb */ color: rgb(111, 23, 125);
/* oklch */ color: oklch(40.2% 0.170 321.6);
Tailwind
colors: {
  custom: {
    50: '#9c60a3',
    500: '#6f177d',
    950: '#000000',
  },
}
SCSS
$custom: #6f177d;
$custom-light: #9c60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f177d",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 291.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.16953,
    "h": 321.6
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#6F177D
secondary
#4EB23E
accent
#EC3C54
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F177D

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

Preview Lab → · Contrast checker → · Palette generator →

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