#6E2A76#6E2A76

#6E2A76 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 323.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6E2A76
RGBrgb(110, 42, 118)
HSLhsl(294, 48%, 31%)
HSVhsv(294, 64%, 46%)
CMYKcmyk(6.8%, 64.4%, 0%, 53.7%)
CIE-LABlab(30.11, 41.39, -29.85)
CIE-LCHlch(30.11, 51.03, 324.20°)
OKLaboklab(41.52% 0.1114 -0.0829)
OKLCHoklch(41.52% 0.139 323.4)
XYZxyz(10.5281, 6.2795, 17.7935)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A76 #32762A
analogous
#482A76 #6E2A76 #762A58
triadic
#6E2A76 #766E2A #2A766E
tetradic
#6E2A76 #76482A #32762A #2A5876
square
#6E2A76 #76482A #32762A #2A5876
split-complementary
#6E2A76 #58762A #2A7648
monochromatic
#1A0A1C #441A49 #6E2A76 #983AA3 #B857C3

Accessibility & contrast

On white

9.31
#6E2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6E2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A76
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A76#FFFFFF#000000##FFFFFF
##6E2A761.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#354A74
Tritanopia (blue-blind)
#70354C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e2a76;
/* rgb */ color: rgb(110, 42, 118);
/* oklch */ color: oklch(41.5% 0.139 323.4);
Tailwind
colors: {
  custom: {
    50: '#9a699e',
    500: '#6e2a76',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a76;
$custom-light: #9a699e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a76",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 293.684,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.1389,
    "h": 323.4
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#6E2A76
secondary
#5DA854
accent
#D7515F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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