#6E2D8A#6E2D8A

#6E2D8A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 314.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6E2D8A
RGBrgb(110, 45, 138)
HSLhsl(282, 51%, 36%)
HSVhsv(282, 67%, 54%)
CMYKcmyk(20.3%, 67.4%, 0%, 45.9%)
CIE-LABlab(31.87, 44.19, -39.55)
CIE-LCHlch(31.87, 59.31, 318.17°)
OKLaboklab(43.19% 0.1076 -0.1113)
OKLCHoklch(43.19% 0.155 314)
XYZxyz(11.9555, 7.0271, 24.7664)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D8A #498A2D
analogous
#3F2D8A #6E2D8A #8A2D77
triadic
#6E2D8A #8A6E2D #2D8A6E
tetradic
#6E2D8A #8A3F2D #498A2D #2D778A
square
#6E2D8A #8A3F2D #498A2D #2D778A
split-complementary
#6E2D8A #778A2D #2D8A3F
monochromatic
#240F2E #491E5C #6E2D8A #933CB8 #AD65CD

Accessibility & contrast

On white

8.73
#6E2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2D8A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D8A#FFFFFF#000000##FFFFFF
##6E2D8A1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#294D88
Tritanopia (blue-blind)
#6B3F57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2d8a;
/* rgb */ color: rgb(110, 45, 138);
/* oklch */ color: oklch(43.2% 0.155 314.0);
Tailwind
colors: {
  custom: {
    50: '#9b6bad',
    500: '#6e2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d8a;
$custom-light: #9b6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d8a",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 281.935,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.15474,
    "h": 314
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#6E2D8A
secondary
#79B360
accent
#DA4D78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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