#6E1673#6E1673

#6E1673 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.162 H 325.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#6E1673
RGBrgb(110, 22, 115)
HSLhsl(297, 68%, 27%)
HSVhsv(297, 81%, 45%)
CMYKcmyk(4.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(27.09, 48.80, -32.73)
CIE-LCHlch(27.09, 58.76, 326.15°)
OKLaboklab(39.29% 0.1335 -0.0911)
OKLCHoklch(39.29% 0.162 325.7)
XYZxyz(9.8116, 5.1273, 16.6892)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1673 #1B7316
analogous
#401673 #6E1673 #73164A
triadic
#6E1673 #736E16 #16736E
tetradic
#6E1673 #734016 #1B7316 #164A73
square
#6E1673 #734016 #1B7316 #164A73
split-complementary
#6E1673 #4A7316 #167340
monochromatic
#19051A #3D0C40 #6E1673 #9F20A6 #CE2DD7

Accessibility & contrast

On white

10.37
#6E1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6E1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1673
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1673#FFFFFF#000000##FFFFFF
##6E16731.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1673;
/* rgb */ color: rgb(110, 22, 115);
/* oklch */ color: oklch(39.3% 0.162 325.7);
Tailwind
colors: {
  custom: {
    50: '#9b5f9c',
    500: '#6e1673',
    950: '#000000',
  },
}
SCSS
$custom: #6e1673;
$custom-light: #9b5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1673",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 296.774,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.16164,
    "h": 325.7
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#6E1673
secondary
#42A93C
accent
#EB3D46
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1673

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

Preview Lab → · Contrast checker → · Palette generator →

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