#6E1F72#6E1F72

#6E1F72 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.151 H 325.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6E1F72
RGBrgb(110, 31, 114)
HSLhsl(297, 57%, 28%)
HSVhsv(297, 73%, 45%)
CMYKcmyk(3.5%, 72.8%, 0%, 55.3%)
CIE-LABlab(28.14, 45.44, -30.42)
CIE-LCHlch(28.14, 54.68, 326.20°)
OKLaboklab(40.02% 0.1247 -0.0845)
OKLCHoklch(40.02% 0.151 325.9)
XYZxyz(9.9575, 5.5105, 16.4555)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F72 #23721F
analogous
#441F72 #6E1F72 #721F4C
triadic
#6E1F72 #726E1F #1F726E
tetradic
#6E1F72 #72441F #23721F #1F4C72
square
#6E1F72 #72441F #23721F #1F4C72
split-complementary
#6E1F72 #4C721F #1F7244
monochromatic
#170718 #401242 #6E1F72 #9C2CA2 #C440CB

Accessibility & contrast

On white

9.99
#6E1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6E1F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F72
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F72#FFFFFF#000000##FFFFFF
##6E1F721.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C74
Deuteranopia (green-blind)
#314670
Tritanopia (blue-blind)
#712C46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1f72;
/* rgb */ color: rgb(110, 31, 114);
/* oklch */ color: oklch(40.0% 0.151 325.9);
Tailwind
colors: {
  custom: {
    50: '#9b639b',
    500: '#6e1f72',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f72;
$custom-light: #9b639b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f72",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 297.108,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40021,
    "c": 0.15062,
    "h": 325.9
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#6E1F72
secondary
#4CA647
accent
#E0474F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E1F72

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

Preview Lab → · Contrast checker → · Palette generator →

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