#6E1E7F#6E1E7F

#6E1E7F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.163 H 319.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6E1E7F
RGBrgb(110, 30, 127)
HSLhsl(289, 62%, 31%)
HSVhsv(289, 76%, 50%)
CMYKcmyk(13.4%, 76.4%, 0%, 50.2%)
CIE-LABlab(28.84, 48.33, -37.55)
CIE-LCHlch(28.84, 61.20, 322.16°)
OKLaboklab(40.79% 0.1251 -0.1053)
OKLCHoklch(40.79% 0.163 319.9)
XYZxyz(10.7250, 5.7764, 20.6246)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E7F #2F7F1E
analogous
#3E1E7F #6E1E7F #7F1E5F
triadic
#6E1E7F #7F6E1E #1E7F6E
tetradic
#6E1E7F #7F3E1E #2F7F1E #1E5F7F
square
#6E1E7F #7F3E1E #2F7F1E #1E5F7F
split-complementary
#6E1E7F #5F7F1E #1E7F3E
monochromatic
#18071C #43124D #6E1E7F #992AB1 #BA44D3

Accessibility & contrast

On white

9.74
#6E1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E1E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E7F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E7F#FFFFFF#000000##FFFFFF
##6E1E7F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#6E314D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1e7f;
/* rgb */ color: rgb(110, 30, 127);
/* oklch */ color: oklch(40.8% 0.163 319.9);
Tailwind
colors: {
  custom: {
    50: '#9b63a5',
    500: '#6e1e7f',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e7f;
$custom-light: #9b63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e7f",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 289.485,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40788,
    "c": 0.16349,
    "h": 319.9
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#6E1E7F
secondary
#59B247
accent
#E5435F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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