#6E1E7C#6E1E7C

#6E1E7C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.161 H 321.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#6E1E7C
RGBrgb(110, 30, 124)
HSLhsl(291, 61%, 30%)
HSVhsv(291, 76%, 49%)
CMYKcmyk(11.3%, 75.8%, 0%, 51.4%)
CIE-LABlab(28.64, 47.74, -35.98)
CIE-LCHlch(28.64, 59.78, 323.00°)
OKLaboklab(40.58% 0.1253 -0.1007)
OKLCHoklch(40.58% 0.161 321.2)
XYZxyz(10.5324, 5.6993, 19.6102)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E7C #2C7C1E
analogous
#3F1E7C #6E1E7C #7C1E5B
triadic
#6E1E7C #7C6E1E #1E7C6E
tetradic
#6E1E7C #7C3F1E #2C7C1E #1E5B7C
square
#6E1E7C #7C3F1E #2C7C1E #1E5B7C
split-complementary
#6E1E7C #5B7C1E #1E7C3F
monochromatic
#170619 #42124B #6E1E7C #9A2AAD #BC43D1

Accessibility & contrast

On white

9.81
#6E1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6E1E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E7C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E7C#FFFFFF#000000##FFFFFF
##6E1E7C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#29467A
Tritanopia (blue-blind)
#6F304B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1e7c;
/* rgb */ color: rgb(110, 30, 124);
/* oklch */ color: oklch(40.6% 0.161 321.2);
Tailwind
colors: {
  custom: {
    50: '#9b63a2',
    500: '#6e1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e7c;
$custom-light: #9b63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e7c",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 291.064,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.16077,
    "h": 321.2
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#6E1E7C
secondary
#56AF46
accent
#E4445C
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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