#6F177F#6F177F

#6F177F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.171 H 320.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6F177F
RGBrgb(111, 23, 127)
HSLhsl(291, 69%, 29%)
HSVhsv(291, 82%, 50%)
CMYKcmyk(12.6%, 81.9%, 0%, 50.2%)
CIE-LABlab(28.18, 50.93, -38.60)
CIE-LCHlch(28.18, 63.91, 322.84°)
OKLaboklab(40.35% 0.1327 -0.1083)
OKLCHoklch(40.35% 0.171 320.8)
XYZxyz(10.6923, 5.5252, 20.5778)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F177F #277F17
analogous
#3B177F #6F177F #7F175B
triadic
#6F177F #7F6F17 #177F6F
tetradic
#6F177F #7F3B17 #277F17 #175B7F
square
#6F177F #7F3B17 #277F17 #175B7F
split-complementary
#6F177F #5B7F17 #177F3B
monochromatic
#17051A #420E4B #6F177F #9C20B3 #C136DB

Accessibility & contrast

On white

9.98
#6F177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6F177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F177F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F177F#FFFFFF#000000##FFFFFF
##6F177F1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#24457D
Tritanopia (blue-blind)
#702E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f177f;
/* rgb */ color: rgb(111, 23, 127);
/* oklch */ color: oklch(40.4% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#9c60a5',
    500: '#6f177f',
    950: '#000000',
  },
}
SCSS
$custom: #6f177f;
$custom-light: #9c60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f177f",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 290.769,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.17124,
    "h": 320.8
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#6F177F
secondary
#50B43E
accent
#EC3C57
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F177F

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

Preview Lab → · Contrast checker → · Palette generator →

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