#6E2C8A#6E2C8A

#6E2C8A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.156 H 314.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6E2C8A
RGBrgb(110, 44, 138)
HSLhsl(282, 52%, 36%)
HSVhsv(282, 68%, 54%)
CMYKcmyk(20.3%, 68.1%, 0%, 45.9%)
CIE-LABlab(31.70, 44.67, -39.83)
CIE-LCHlch(31.70, 59.85, 318.28°)
OKLaboklab(43.06% 0.1088 -0.1121)
OKLCHoklch(43.06% 0.156 314.1)
XYZxyz(11.9178, 6.9517, 24.7539)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2C8A #488A2C
analogous
#3F2C8A #6E2C8A #8A2C77
triadic
#6E2C8A #8A6E2C #2C8A6E
tetradic
#6E2C8A #8A3F2C #488A2C #2C778A
square
#6E2C8A #8A3F2C #488A2C #2C778A
split-complementary
#6E2C8A #778A2C #2C8A3F
monochromatic
#240E2D #491D5C #6E2C8A #933BB8 #AE63CD

Accessibility & contrast

On white

8.79
#6E2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6E2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2C8A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2C8A#FFFFFF#000000##FFFFFF
##6E2C8A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#284C88
Tritanopia (blue-blind)
#6B3E57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2c8a;
/* rgb */ color: rgb(110, 44, 138);
/* oklch */ color: oklch(43.1% 0.156 314.1);
Tailwind
colors: {
  custom: {
    50: '#9b6aad',
    500: '#6e2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e2c8a;
$custom-light: #9b6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2c8a",
  "rgb": {
    "r": 110,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 282.128,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.15616,
    "h": 314.1
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#6E2C8A
secondary
#78B45E
accent
#DB4D77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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