#6E2A8A#6E2A8A

#6E2A8A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.159 H 314.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6E2A8A
RGBrgb(110, 42, 138)
HSLhsl(283, 53%, 35%)
HSVhsv(283, 70%, 54%)
CMYKcmyk(20.3%, 69.6%, 0%, 45.9%)
CIE-LABlab(31.36, 45.60, -40.37)
CIE-LCHlch(31.36, 60.90, 318.49°)
OKLaboklab(42.82% 0.1111 -0.1136)
OKLCHoklch(42.82% 0.159 314.4)
XYZxyz(11.8451, 6.8063, 24.7296)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A8A #468A2A
analogous
#3E2A8A #6E2A8A #8A2A76
triadic
#6E2A8A #8A6E2A #2A8A6E
tetradic
#6E2A8A #8A3E2A #468A2A #2A768A
square
#6E2A8A #8A3E2A #468A2A #2A768A
split-complementary
#6E2A8A #768A2A #2A8A3E
monochromatic
#230D2C #491C5B #6E2A8A #9338B9 #AE60CF

Accessibility & contrast

On white

8.89
#6E2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A8A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A8A#FFFFFF#000000##FFFFFF
##6E2A8A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#264B88
Tritanopia (blue-blind)
#6C3D56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2a8a;
/* rgb */ color: rgb(110, 42, 138);
/* oklch */ color: oklch(42.8% 0.159 314.4);
Tailwind
colors: {
  custom: {
    50: '#9b69ad',
    500: '#6e2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a8a;
$custom-light: #9b69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a8a",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 282.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.15893,
    "h": 314.4
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#6E2A8A
secondary
#75B45B
accent
#DD4B76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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