#6F177E#6F177E

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

Color values

HEX#6F177E
RGBrgb(111, 23, 126)
HSLhsl(291, 69%, 29%)
HSVhsv(291, 82%, 49%)
CMYKcmyk(11.9%, 81.7%, 0%, 50.6%)
CIE-LABlab(28.11, 50.74, -38.08)
CIE-LCHlch(28.11, 63.44, 323.11°)
OKLaboklab(40.28% 0.1328 -0.1068)
OKLCHoklch(40.28% 0.17 321.2)
XYZxyz(10.6274, 5.4993, 20.2363)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F177E #267E17
analogous
#3C177E #6F177E #7E175A
triadic
#6F177E #7E6F17 #177E6F
tetradic
#6F177E #7E3C17 #267E17 #175A7E
square
#6F177E #7E3C17 #267E17 #175A7E
split-complementary
#6F177E #5A7E17 #177E3C
monochromatic
#17051A #410E4A #6F177E #9D20B2 #C235DA

Accessibility & contrast

On white

10.00
#6F177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6F177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F177E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F177E#FFFFFF#000000##FFFFFF
##6F177E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#25457C
Tritanopia (blue-blind)
#702D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f177e;
/* rgb */ color: rgb(111, 23, 126);
/* oklch */ color: oklch(40.3% 0.170 321.2);
Tailwind
colors: {
  custom: {
    50: '#9c60a4',
    500: '#6f177e',
    950: '#000000',
  },
}
SCSS
$custom: #6f177e;
$custom-light: #9c60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f177e",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 291.262,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.17038,
    "h": 321.2
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#6F177E
secondary
#4FB33E
accent
#EC3C55
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F177E

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

Preview Lab → · Contrast checker → · Palette generator →

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