#6E2784#6E2784

#6E2784 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 317.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6E2784
RGBrgb(110, 39, 132)
HSLhsl(286, 54%, 34%)
HSVhsv(286, 70%, 52%)
CMYKcmyk(16.7%, 70.5%, 0%, 48.2%)
CIE-LABlab(30.48, 45.67, -38.06)
CIE-LCHlch(30.48, 59.44, 320.19°)
OKLaboklab(42.06% 0.115 -0.1068)
OKLCHoklch(42.06% 0.157 317.1)
XYZxyz(11.3202, 6.4324, 22.4706)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2784 #3D8427
analogous
#3F2784 #6E2784 #84276B
triadic
#6E2784 #846E27 #27846E
tetradic
#6E2784 #843F27 #3D8427 #276B84
square
#6E2784 #843F27 #3D8427 #276B84
split-complementary
#6E2784 #6B8427 #27843F
monochromatic
#1F0B26 #471955 #6E2784 #9535B3 #B258CE

Accessibility & contrast

On white

9.18
#6E2784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E2784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2784
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2784#FFFFFF#000000##FFFFFF
##6E27841.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#294A82
Tritanopia (blue-blind)
#6D3952
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e2784;
/* rgb */ color: rgb(110, 39, 132);
/* oklch */ color: oklch(42.1% 0.157 317.1);
Tailwind
colors: {
  custom: {
    50: '#9b67a8',
    500: '#6e2784',
    950: '#000000',
  },
}
SCSS
$custom: #6e2784;
$custom-light: #9b67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2784",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 285.806,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42063,
    "c": 0.15697,
    "h": 317.1
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#6E2784
secondary
#6BB254
accent
#DE4A6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2784

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

Preview Lab → · Contrast checker → · Palette generator →

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