#6E1C8C#6E1C8C

#6E1C8C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.177 H 314.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#6E1C8C
RGBrgb(110, 28, 140)
HSLhsl(284, 67%, 33%)
HSVhsv(284, 80%, 55%)
CMYKcmyk(21.4%, 80%, 0%, 45.1%)
CIE-LABlab(29.51, 51.69, -44.59)
CIE-LCHlch(29.51, 68.26, 319.22°)
OKLaboklab(41.55% 0.1251 -0.1259)
OKLCHoklch(41.55% 0.177 314.8)
XYZxyz(11.5785, 6.0394, 25.3617)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C8C #3A8C1C
analogous
#361C8C #6E1C8C #8C1C72
triadic
#6E1C8C #8C6E1C #1C8C6E
tetradic
#6E1C8C #8C361C #3A8C1C #1C728C
square
#6E1C8C #8C361C #3A8C1C #1C728C
split-complementary
#6E1C8C #728C1C #1C8C36
monochromatic
#1E0826 #461259 #6E1C8C #9626BF #B348DA

Accessibility & contrast

On white

9.51
#6E1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6E1C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C8C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C8C#FFFFFF#000000##FFFFFF
##6E1C8C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#15488A
Tritanopia (blue-blind)
#6B3654
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1c8c;
/* rgb */ color: rgb(110, 28, 140);
/* oklch */ color: oklch(41.6% 0.177 314.8);
Tailwind
colors: {
  custom: {
    50: '#9c63ae',
    500: '#6e1c8c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c8c;
$custom-light: #9c63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c8c",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 283.929,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41554,
    "c": 0.17749,
    "h": 314.8
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#6E1C8C
secondary
#67BC48
accent
#EA3E6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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