#6E2A8F#6E2A8F

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

Color values

HEX#6E2A8F
RGBrgb(110, 42, 143)
HSLhsl(280, 55%, 36%)
HSVhsv(280, 71%, 56%)
CMYKcmyk(23.1%, 70.6%, 0%, 43.9%)
CIE-LABlab(31.70, 46.71, -42.91)
CIE-LCHlch(31.70, 63.42, 317.43°)
OKLaboklab(43.18% 0.1107 -0.1211)
OKLCHoklch(43.18% 0.164 312.4)
XYZxyz(12.2154, 6.9544, 26.6801)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A8F #4B8F2A
analogous
#3C2A8F #6E2A8F #8F2A7E
triadic
#6E2A8F #8F6E2A #2A8F6E
tetradic
#6E2A8F #8F3C2A #4B8F2A #2A7E8F
square
#6E2A8F #8F3C2A #4B8F2A #2A7E8F
split-complementary
#6E2A8F #7E8F2A #2A8F3C
monochromatic
#250E30 #4A1C60 #6E2A8F #9238BE #AD62D1

Accessibility & contrast

On white

8.78
#6E2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6E2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A8F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A8F#FFFFFF#000000##FFFFFF
##6E2A8F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#204C8D
Tritanopia (blue-blind)
#6A3F59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2a8f;
/* rgb */ color: rgb(110, 42, 143);
/* oklch */ color: oklch(43.2% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#9b69b0',
    500: '#6e2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a8f;
$custom-light: #9b69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a8f",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 280.396,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.16404,
    "h": 312.4
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#6E2A8F
secondary
#7BB75E
accent
#DE4A7A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6E2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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