#6F177B#6F177B

#6F177B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.168 H 322.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#6F177B
RGBrgb(111, 23, 123)
HSLhsl(293, 68%, 29%)
HSVhsv(293, 81%, 48%)
CMYKcmyk(9.8%, 81.3%, 0%, 51.8%)
CIE-LABlab(27.91, 50.17, -36.51)
CIE-LCHlch(27.91, 62.05, 323.96°)
OKLaboklab(40.07% 0.1332 -0.1022)
OKLCHoklch(40.07% 0.168 322.5)
XYZxyz(10.4367, 5.4230, 19.2321)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F177B #237B17
analogous
#3D177B #6F177B #7B1755
triadic
#6F177B #7B6F17 #177B6F
tetradic
#6F177B #7B3D17 #237B17 #17557B
square
#6F177B #7B3D17 #237B17 #17557B
split-complementary
#6F177B #557B17 #177B3D
monochromatic
#17051A #400D47 #6F177B #9E21AF #C533D9

Accessibility & contrast

On white

10.07
#6F177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6F177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F177B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F177B#FFFFFF#000000##FFFFFF
##6F177B1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#702C49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f177b;
/* rgb */ color: rgb(111, 23, 123);
/* oklch */ color: oklch(40.1% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#9c60a2',
    500: '#6f177b',
    950: '#000000',
  },
}
SCSS
$custom: #6f177b;
$custom-light: #9c60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f177b",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 292.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.16783,
    "h": 322.5
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#6F177B
secondary
#4CB03E
accent
#EB3C51
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F177B

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

Preview Lab → · Contrast checker → · Palette generator →

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