#6E167B#6E167B

#6E167B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.168 H 322.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6E167B
RGBrgb(110, 22, 123)
HSLhsl(292, 70%, 28%)
HSVhsv(292, 82%, 48%)
CMYKcmyk(10.6%, 82.1%, 0%, 51.8%)
CIE-LABlab(27.63, 50.27, -36.97)
CIE-LCHlch(27.63, 62.41, 323.67°)
OKLaboklab(39.84% 0.1328 -0.1035)
OKLCHoklch(39.84% 0.168 322)
XYZxyz(10.2921, 5.3195, 19.2197)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E167B #237B16
analogous
#3B167B #6E167B #7B1655
triadic
#6E167B #7B6E16 #167B6E
tetradic
#6E167B #7B3B16 #237B16 #16557B
square
#6E167B #7B3B16 #237B16 #16557B
split-complementary
#6E167B #557B16 #167B3B
monochromatic
#17051A #400D47 #6E167B #9C1FAF #C431DA

Accessibility & contrast

On white

10.18
#6E167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E167B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E167B#FFFFFF#000000##FFFFFF
##6E167B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#264479
Tritanopia (blue-blind)
#6F2B49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e167b;
/* rgb */ color: rgb(110, 22, 123);
/* oklch */ color: oklch(39.8% 0.168 322.0);
Tailwind
colors: {
  custom: {
    50: '#9b60a2',
    500: '#6e167b',
    950: '#000000',
  },
}
SCSS
$custom: #6e167b;
$custom-light: #9b60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e167b",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 292.277,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.16836,
    "h": 322
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#6E167B
secondary
#4CB03D
accent
#EC3B52
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6E167B

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

Preview Lab → · Contrast checker → · Palette generator →

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