#6E1F7D#6E1F7D

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

Color values

HEX#6E1F7D
RGBrgb(110, 31, 125)
HSLhsl(290, 60%, 31%)
HSVhsv(290, 75%, 49%)
CMYKcmyk(12%, 75.2%, 0%, 51%)
CIE-LABlab(28.84, 47.56, -36.29)
CIE-LCHlch(28.84, 59.82, 322.65°)
OKLaboklab(40.74% 0.1242 -0.1016)
OKLCHoklch(40.74% 0.161 320.7)
XYZxyz(10.6216, 5.7762, 19.9535)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F7D #2E7D1F
analogous
#3F1F7D #6E1F7D #7D1F5D
triadic
#6E1F7D #7D6E1F #1F7D6E
tetradic
#6E1F7D #7D3F1F #2E7D1F #1F5D7D
square
#6E1F7D #7D3F1F #2E7D1F #1F5D7D
split-complementary
#6E1F7D #5D7D1F #1F7D3F
monochromatic
#18071B #43134C #6E1F7D #992BAE #BB45D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1F7D#FFFFFF#000000##FFFFFF
##6E1F7D1.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)
#003F80
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#6F314C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1f7d;
/* rgb */ color: rgb(110, 31, 125);
/* oklch */ color: oklch(40.7% 0.161 320.7);
Tailwind
colors: {
  custom: {
    50: '#9b63a3',
    500: '#6e1f7d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f7d;
$custom-light: #9b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f7d",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 290.426,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.1605,
    "h": 320.7
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#6E1F7D
secondary
#58B048
accent
#E3445E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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