#6E2E87#6E2E87

#6E2E87 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.150 H 315.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6E2E87
RGBrgb(110, 46, 135)
HSLhsl(283, 49%, 35%)
HSVhsv(283, 66%, 53%)
CMYKcmyk(18.5%, 65.9%, 0%, 47.1%)
CIE-LABlab(31.85, 43.04, -37.73)
CIE-LCHlch(31.85, 57.24, 318.77°)
OKLaboklab(43.11% 0.1064 -0.1059)
OKLCHoklch(43.11% 0.15 315.1)
XYZxyz(11.7799, 7.0187, 23.6512)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2E87 #47872E
analogous
#412E87 #6E2E87 #872E73
triadic
#6E2E87 #876E2E #2E876E
tetradic
#6E2E87 #87412E #47872E #2E7387
square
#6E2E87 #87412E #47872E #2E7387
split-complementary
#6E2E87 #73872E #2E8741
monochromatic
#240F2C #491E59 #6E2E87 #933EB5 #AE65CA

Accessibility & contrast

On white

8.74
#6E2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6E2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2E87
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2E87#FFFFFF#000000##FFFFFF
##6E2E871.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#6C3F56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2e87;
/* rgb */ color: rgb(110, 46, 135);
/* oklch */ color: oklch(43.1% 0.150 315.1);
Tailwind
colors: {
  custom: {
    50: '#9a6baa',
    500: '#6e2e87',
    950: '#000000',
  },
}
SCSS
$custom: #6e2e87;
$custom-light: #9a6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2e87",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 283.146,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.15016,
    "h": 315.1
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#6E2E87
secondary
#77B160
accent
#D94F76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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