#6E2D71#6E2D71

#6E2D71 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.6% C 0.129 H 325.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6E2D71
RGBrgb(110, 45, 113)
HSLhsl(297, 43%, 31%)
HSVhsv(297, 60%, 44%)
CMYKcmyk(2.7%, 60.2%, 0%, 55.7%)
CIE-LABlab(30.36, 38.92, -26.27)
CIE-LCHlch(30.36, 46.96, 325.98°)
OKLaboklab(41.61% 0.107 -0.0726)
OKLCHoklch(41.61% 0.129 325.8)
XYZxyz(10.3492, 6.3846, 16.3068)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D71 #30712D
analogous
#4C2D71 #6E2D71 #712D52
triadic
#6E2D71 #716E2D #2D716E
tetradic
#6E2D71 #714C2D #30712D #2D5271
square
#6E2D71 #714C2D #30712D #2D5271
split-complementary
#6E2D71 #52712D #2D714C
monochromatic
#190A19 #431C45 #6E2D71 #993E9D #B95BBE

Accessibility & contrast

On white

9.22
#6E2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D71
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D71#FFFFFF#000000##FFFFFF
##6E2D711.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#71364A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e2d71;
/* rgb */ color: rgb(110, 45, 113);
/* oklch */ color: oklch(41.6% 0.129 325.8);
Tailwind
colors: {
  custom: {
    50: '#9a6a9a',
    500: '#6e2d71',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d71;
$custom-light: #9a6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d71",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 297.353,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4161,
    "c": 0.12929,
    "h": 325.8
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#6E2D71
secondary
#5BA357
accent
#D3555B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6E2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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