#6E1D7D#6E1D7D

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

Color values

HEX#6E1D7D
RGBrgb(110, 29, 125)
HSLhsl(291, 62%, 30%)
HSVhsv(291, 77%, 49%)
CMYKcmyk(12%, 76.8%, 0%, 51%)
CIE-LABlab(28.58, 48.31, -36.71)
CIE-LCHlch(28.58, 60.68, 322.77°)
OKLaboklab(40.56% 0.1263 -0.1028)
OKLCHoklch(40.56% 0.163 320.8)
XYZxyz(10.5710, 5.6750, 19.9366)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D7D #2C7D1D
analogous
#3E1D7D #6E1D7D #7D1D5C
triadic
#6E1D7D #7D6E1D #1D7D6E
tetradic
#6E1D7D #7D3E1D #2C7D1D #1D5C7D
square
#6E1D7D #7D3E1D #2C7D1D #1D5C7D
split-complementary
#6E1D7D #5C7D1D #1D7D3E
monochromatic
#17061A #42114B #6E1D7D #9A29AF #BC41D3

Accessibility & contrast

On white

9.84
#6E1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D7D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D7D#FFFFFF#000000##FFFFFF
##6E1D7D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#6F304C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1d7d;
/* rgb */ color: rgb(110, 29, 125);
/* oklch */ color: oklch(40.6% 0.163 320.8);
Tailwind
colors: {
  custom: {
    50: '#9b62a3',
    500: '#6e1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d7d;
$custom-light: #9b62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d7d",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 290.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.16283,
    "h": 320.8
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#6E1D7D
secondary
#56B145
accent
#E5425C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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