#6E1772#6E1772

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

Color values

HEX#6E1772
RGBrgb(110, 23, 114)
HSLhsl(297, 66%, 27%)
HSVhsv(297, 80%, 45%)
CMYKcmyk(3.5%, 79.8%, 0%, 55.3%)
CIE-LABlab(27.14, 48.30, -32.02)
CIE-LCHlch(27.14, 57.95, 326.46°)
OKLaboklab(39.3% 0.1327 -0.0891)
OKLCHoklch(39.3% 0.16 326.1)
XYZxyz(9.7739, 5.1434, 16.3943)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1772 #1B7217
analogous
#411772 #6E1772 #721749
triadic
#6E1772 #726E17 #17726E
tetradic
#6E1772 #724117 #1B7217 #174972
square
#6E1772 #724117 #1B7217 #174972
split-complementary
#6E1772 #497217 #177241
monochromatic
#190519 #3D0D3F #6E1772 #9F21A5 #CE2ED5

Accessibility & contrast

On white

10.35
#6E1772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1772
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1772#FFFFFF#000000##FFFFFF
##6E17721.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.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: #6e1772;
/* rgb */ color: rgb(110, 23, 114);
/* oklch */ color: oklch(39.3% 0.160 326.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f9b',
    500: '#6e1772',
    950: '#000000',
  },
}
SCSS
$custom: #6e1772;
$custom-light: #9b5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1772",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 297.363,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.1598,
    "h": 326.1
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#6E1772
secondary
#42A83D
accent
#E93E46
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1772

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

Preview Lab → · Contrast checker → · Palette generator →

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