#6E1C7C#6E1C7C

#6E1C7C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.163 H 321.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6E1C7C
RGBrgb(110, 28, 124)
HSLhsl(291, 63%, 30%)
HSVhsv(291, 77%, 49%)
CMYKcmyk(11.3%, 77.4%, 0%, 51.4%)
CIE-LABlab(28.38, 48.48, -36.39)
CIE-LCHlch(28.38, 60.62, 323.11°)
OKLaboklab(40.4% 0.1273 -0.1019)
OKLCHoklch(40.4% 0.163 321.3)
XYZxyz(10.4833, 5.6013, 19.5938)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C7C #2A7C1C
analogous
#3E1C7C #6E1C7C #7C1C5A
triadic
#6E1C7C #7C6E1C #1C7C6E
tetradic
#6E1C7C #7C3E1C #2A7C1C #1C5A7C
square
#6E1C7C #7C3E1C #2A7C1C #1C5A7C
split-complementary
#6E1C7C #5A7C1C #1C7C3E
monochromatic
#160619 #42114A #6E1C7C #9A27AE #BE3FD4

Accessibility & contrast

On white

9.90
#6E1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E1C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C7C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C7C#FFFFFF#000000##FFFFFF
##6E1C7C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#6F2F4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1c7c;
/* rgb */ color: rgb(110, 28, 124);
/* oklch */ color: oklch(40.4% 0.163 321.3);
Tailwind
colors: {
  custom: {
    50: '#9b62a2',
    500: '#6e1c7c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c7c;
$custom-light: #9b62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c7c",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 291.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.16306,
    "h": 321.3
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#6E1C7C
secondary
#54B044
accent
#E6425A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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