#6E2A8D#6E2A8D

#6E2A8D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.162 H 313.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6E2A8D
RGBrgb(110, 42, 141)
HSLhsl(281, 54%, 36%)
HSVhsv(281, 70%, 55%)
CMYKcmyk(22%, 70.2%, 0%, 44.7%)
CIE-LABlab(31.57, 46.26, -41.89)
CIE-LCHlch(31.57, 62.41, 317.84°)
OKLaboklab(43.03% 0.1109 -0.1181)
OKLCHoklch(43.03% 0.162 313.2)
XYZxyz(12.0652, 6.8944, 25.8893)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A8D #498D2A
analogous
#3C2A8D #6E2A8D #8D2A7A
triadic
#6E2A8D #8D6E2A #2A8D6E
tetradic
#6E2A8D #8D3C2A #498D2A #2A7A8D
square
#6E2A8D #8D3C2A #498D2A #2A7A8D
split-complementary
#6E2A8D #7A8D2A #2A8D3C
monochromatic
#240E2F #491C5E #6E2A8D #9338BC #AD61D0

Accessibility & contrast

On white

8.83
#6E2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A8D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A8D#FFFFFF#000000##FFFFFF
##6E2A8D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#6B3E58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2a8d;
/* rgb */ color: rgb(110, 42, 141);
/* oklch */ color: oklch(43.0% 0.162 313.2);
Tailwind
colors: {
  custom: {
    50: '#9b69af',
    500: '#6e2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a8d;
$custom-light: #9b69af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a8d",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 281.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.16199,
    "h": 313.2
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#6E2A8D
secondary
#79B65D
accent
#DD4A78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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