#6E2A84#6E2A84

#6E2A84 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 316.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6E2A84
RGBrgb(110, 42, 132)
HSLhsl(285, 52%, 34%)
HSVhsv(285, 68%, 52%)
CMYKcmyk(16.7%, 68.2%, 0%, 48.2%)
CIE-LABlab(30.97, 44.30, -37.27)
CIE-LCHlch(30.97, 57.90, 319.92°)
OKLaboklab(42.41% 0.1115 -0.1046)
OKLCHoklch(42.41% 0.153 316.8)
XYZxyz(11.4226, 6.6373, 22.5048)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A84 #40842A
analogous
#412A84 #6E2A84 #842A6D
triadic
#6E2A84 #846E2A #2A846E
tetradic
#6E2A84 #84412A #40842A #2A6D84
square
#6E2A84 #84412A #40842A #2A6D84
split-complementary
#6E2A84 #6D842A #2A8441
monochromatic
#210C27 #471B56 #6E2A84 #9539B2 #B05DCB

Accessibility & contrast

On white

9.02
#6E2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6E2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A84
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A84#FFFFFF#000000##FFFFFF
##6E2A841.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#2B4B82
Tritanopia (blue-blind)
#6D3B53
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2a84;
/* rgb */ color: rgb(110, 42, 132);
/* oklch */ color: oklch(42.4% 0.153 316.8);
Tailwind
colors: {
  custom: {
    50: '#9a69a8',
    500: '#6e2a84',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a84;
$custom-light: #9a69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a84",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 285.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.15284,
    "h": 316.8
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#6E2A84
secondary
#6EB159
accent
#DB4D6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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