#6E2C8D#6E2C8D

#6E2C8D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.159 H 313.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6E2C8D
RGBrgb(110, 44, 141)
HSLhsl(281, 52%, 36%)
HSVhsv(281, 69%, 55%)
CMYKcmyk(22%, 68.8%, 0%, 44.7%)
CIE-LABlab(31.90, 45.34, -41.36)
CIE-LCHlch(31.90, 61.37, 317.63°)
OKLaboklab(43.27% 0.1086 -0.1165)
OKLCHoklch(43.27% 0.159 313)
XYZxyz(12.1380, 7.0398, 25.9136)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2C8D #4B8D2C
analogous
#3E2C8D #6E2C8D #8D2C7C
triadic
#6E2C8D #8D6E2C #2C8D6E
tetradic
#6E2C8D #8D3E2C #4B8D2C #2C7C8D
square
#6E2C8D #8D3E2C #4B8D2C #2C7C8D
split-complementary
#6E2C8D #7C8D2C #2C8D3E
monochromatic
#250F30 #4A1D5E #6E2C8D #923BBC #AD65CF

Accessibility & contrast

On white

8.72
#6E2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6E2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2C8D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2C8D#FFFFFF#000000##FFFFFF
##6E2C8D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#6B4059
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2c8d;
/* rgb */ color: rgb(110, 44, 141);
/* oklch */ color: oklch(43.3% 0.159 313.0);
Tailwind
colors: {
  custom: {
    50: '#9b6aaf',
    500: '#6e2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e2c8d;
$custom-light: #9b6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2c8d",
  "rgb": {
    "r": 110,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 280.825,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.15928,
    "h": 313
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#6E2C8D
secondary
#7BB560
accent
#DC4C7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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