#6E176F#6E176F

#6E176F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.157 H 327.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#6E176F
RGBrgb(110, 23, 111)
HSLhsl(299, 66%, 26%)
HSVhsv(299, 79%, 44%)
CMYKcmyk(0.9%, 79.3%, 0%, 56.5%)
CIE-LABlab(26.95, 47.77, -30.40)
CIE-LCHlch(26.95, 56.62, 327.53°)
OKLaboklab(39.11% 0.1328 -0.0843)
OKLCHoklch(39.11% 0.157 327.6)
XYZxyz(9.6059, 5.0762, 15.5097)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E176F #186F17
analogous
#42176F #6E176F #6F1744
triadic
#6E176F #6F6E17 #176F6E
tetradic
#6E176F #6F4217 #186F17 #17446F
square
#6E176F #6F4217 #186F17 #17446F
split-complementary
#6E176F #446F17 #176F42
monochromatic
#190519 #3C0C3C #6E176F #A022A2 #D22DD3

Accessibility & contrast

On white

10.42
#6E176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6E176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E176F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E176F#FFFFFF#000000##FFFFFF
##6E176F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#2F446D
Tritanopia (blue-blind)
#712642
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e176f;
/* rgb */ color: rgb(110, 23, 111);
/* oklch */ color: oklch(39.1% 0.157 327.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f99',
    500: '#6e176f',
    950: '#000000',
  },
}
SCSS
$custom: #6e176f;
$custom-light: #9b5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6e176f",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 299.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.15732,
    "h": 327.6
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#6E176F
secondary
#3EA53D
accent
#E93F41
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E176F

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

Preview Lab → · Contrast checker → · Palette generator →

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