#6E167F#6E167F

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

Color values

HEX#6E167F
RGBrgb(110, 22, 127)
HSLhsl(290, 70%, 29%)
HSVhsv(290, 83%, 50%)
CMYKcmyk(13.4%, 82.7%, 0%, 50.2%)
CIE-LABlab(27.90, 51.03, -39.05)
CIE-LCHlch(27.90, 64.26, 322.57°)
OKLaboklab(40.12% 0.1322 -0.1096)
OKLCHoklch(40.12% 0.172 320.3)
XYZxyz(10.5476, 5.4217, 20.5655)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E167F #277F16
analogous
#3A167F #6E167F #7F165C
triadic
#6E167F #7F6E16 #167F6E
tetradic
#6E167F #7F3A16 #277F16 #165C7F
square
#6E167F #7F3A16 #277F16 #165C7F
split-complementary
#6E167F #5C7F16 #167F3A
monochromatic
#17051A #410D4B #6E167F #9B1FB3 #C134DC

Accessibility & contrast

On white

10.08
#6E167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E167F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E167F#FFFFFF#000000##FFFFFF
##6E167F1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e167f;
/* rgb */ color: rgb(110, 22, 127);
/* oklch */ color: oklch(40.1% 0.172 320.3);
Tailwind
colors: {
  custom: {
    50: '#9b60a5',
    500: '#6e167f',
    950: '#000000',
  },
}
SCSS
$custom: #6e167f;
$custom-light: #9b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e167f",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 290.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.17176,
    "h": 320.3
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#6E167F
secondary
#50B43D
accent
#ED3B57
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E167F

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

Preview Lab → · Contrast checker → · Palette generator →

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