#6E2C71#6E2C71

#6E2C71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.131 H 325.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6E2C71
RGBrgb(110, 44, 113)
HSLhsl(297, 44%, 31%)
HSVhsv(297, 61%, 44%)
CMYKcmyk(2.7%, 61.1%, 0%, 55.7%)
CIE-LABlab(30.18, 39.42, -26.56)
CIE-LCHlch(30.18, 47.53, 326.03°)
OKLaboklab(41.48% 0.1084 -0.0734)
OKLCHoklch(41.48% 0.131 325.9)
XYZxyz(10.3115, 6.3092, 16.2943)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2C71 #2F712C
analogous
#4B2C71 #6E2C71 #712C51
triadic
#6E2C71 #716E2C #2C716E
tetradic
#6E2C71 #714B2C #2F712C #2C5171
square
#6E2C71 #714B2C #2F712C #2C5171
split-complementary
#6E2C71 #51712C #2C714B
monochromatic
#180A19 #431B45 #6E2C71 #993D9D #BA59BE

Accessibility & contrast

On white

9.28
#6E2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6E2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2C71
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2C71#FFFFFF#000000##FFFFFF
##6E2C711.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#71354A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e2c71;
/* rgb */ color: rgb(110, 44, 113);
/* oklch */ color: oklch(41.5% 0.131 325.9);
Tailwind
colors: {
  custom: {
    50: '#9a699a',
    500: '#6e2c71',
    950: '#000000',
  },
}
SCSS
$custom: #6e2c71;
$custom-light: #9a699a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2c71",
  "rgb": {
    "r": 110,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 297.391,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41476,
    "c": 0.1309,
    "h": 325.9
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#6E2C71
secondary
#59A356
accent
#D4545A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6E2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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