#6E1672#6E1672

#6E1672 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.161 H 326.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#6E1672
RGBrgb(110, 22, 114)
HSLhsl(297, 68%, 27%)
HSVhsv(297, 81%, 45%)
CMYKcmyk(3.5%, 80.7%, 0%, 55.3%)
CIE-LABlab(27.03, 48.62, -32.20)
CIE-LCHlch(27.03, 58.31, 326.49°)
OKLaboklab(39.23% 0.1336 -0.0896)
OKLCHoklch(39.23% 0.161 326.1)
XYZxyz(9.7544, 5.1044, 16.3878)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1672 #1A7216
analogous
#401672 #6E1672 #721648
triadic
#6E1672 #726E16 #16726E
tetradic
#6E1672 #724016 #1A7216 #164872
square
#6E1672 #724016 #1A7216 #164872
split-complementary
#6E1672 #487216 #167240
monochromatic
#19051A #3D0C3F #6E1672 #A020A5 #CF2CD6

Accessibility & contrast

On white

10.39
#6E1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1672
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1672#FFFFFF#000000##FFFFFF
##6E16721.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2D4470
Tritanopia (blue-blind)
#712744
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1672;
/* rgb */ color: rgb(110, 22, 114);
/* oklch */ color: oklch(39.2% 0.161 326.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f9b',
    500: '#6e1672',
    950: '#000000',
  },
}
SCSS
$custom: #6e1672;
$custom-light: #9b5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1672",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 297.391,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.16082,
    "h": 326.1
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#6E1672
secondary
#41A83C
accent
#EB3D45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1672

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

Preview Lab → · Contrast checker → · Palette generator →

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