#6D177E#6D177E

#6D177E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.170 H 320.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6D177E
RGBrgb(109, 23, 126)
HSLhsl(290, 69%, 29%)
HSVhsv(290, 82%, 49%)
CMYKcmyk(13.5%, 81.7%, 0%, 50.6%)
CIE-LABlab(27.77, 50.34, -38.65)
CIE-LCHlch(27.77, 63.47, 322.48°)
OKLaboklab(39.97% 0.1303 -0.1085)
OKLCHoklch(39.97% 0.17 320.2)
XYZxyz(10.3785, 5.3709, 20.2246)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D177E #287E17
analogous
#3A177E #6D177E #7E175C
triadic
#6D177E #7E6D17 #177E6D
tetradic
#6D177E #7E3A17 #287E17 #175C7E
square
#6D177E #7E3A17 #287E17 #175C7E
split-complementary
#6D177E #5C7E17 #177E3A
monochromatic
#16051A #400E4A #6D177E #9A20B2 #BF35DA

Accessibility & contrast

On white

10.13
#6D177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D177E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D177E#FFFFFF#000000##FFFFFF
##6D177E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#22447C
Tritanopia (blue-blind)
#6D2E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d177e;
/* rgb */ color: rgb(109, 23, 126);
/* oklch */ color: oklch(40.0% 0.170 320.2);
Tailwind
colors: {
  custom: {
    50: '#9a60a4',
    500: '#6d177e',
    950: '#000000',
  },
}
SCSS
$custom: #6d177e;
$custom-light: #9a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d177e",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 290.097,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.16957,
    "h": 320.2
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#6D177E
secondary
#51B33E
accent
#EC3C59
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D177E

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

Preview Lab → · Contrast checker → · Palette generator →

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