#6E177F#6E177F

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

Color values

HEX#6E177F
RGBrgb(110, 23, 127)
HSLhsl(290, 69%, 29%)
HSVhsv(290, 82%, 50%)
CMYKcmyk(13.4%, 81.9%, 0%, 50.2%)
CIE-LABlab(28.01, 50.73, -38.89)
CIE-LCHlch(28.01, 63.92, 322.53°)
OKLaboklab(40.2% 0.1314 -0.1091)
OKLCHoklch(40.2% 0.171 320.3)
XYZxyz(10.5671, 5.4607, 20.5720)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E177F #287F17
analogous
#3A177F #6E177F #7F175C
triadic
#6E177F #7F6E17 #177F6E
tetradic
#6E177F #7F3A17 #287F17 #175C7F
square
#6E177F #7F3A17 #287F17 #175C7F
split-complementary
#6E177F #5C7F17 #177F3A
monochromatic
#16051A #410E4B #6E177F #9B20B3 #C036DB

Accessibility & contrast

On white

10.04
#6E177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E177F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E177F#FFFFFF#000000##FFFFFF
##6E177F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#6E2E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e177f;
/* rgb */ color: rgb(110, 23, 127);
/* oklch */ color: oklch(40.2% 0.171 320.3);
Tailwind
colors: {
  custom: {
    50: '#9b60a5',
    500: '#6e177f',
    950: '#000000',
  },
}
SCSS
$custom: #6e177f;
$custom-light: #9b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e177f",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 290.192,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.17083,
    "h": 320.3
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#6E177F
secondary
#51B43E
accent
#EC3C59
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E177F

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

Preview Lab → · Contrast checker → · Palette generator →

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