#6E1D7E#6E1D7E

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

Color values

HEX#6E1D7E
RGBrgb(110, 29, 126)
HSLhsl(290, 63%, 30%)
HSVhsv(290, 77%, 49%)
CMYKcmyk(12.7%, 77%, 0%, 50.6%)
CIE-LABlab(28.64, 48.51, -37.23)
CIE-LCHlch(28.64, 61.15, 322.49°)
OKLaboklab(40.63% 0.1262 -0.1044)
OKLCHoklch(40.63% 0.164 320.4)
XYZxyz(10.6352, 5.7006, 20.2748)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D7E #2D7E1D
analogous
#3D1D7E #6E1D7E #7E1D5D
triadic
#6E1D7E #7E6E1D #1D7E6E
tetradic
#6E1D7E #7E3D1D #2D7E1D #1D5D7E
square
#6E1D7E #7E3D1D #2D7E1D #1D5D7E
split-complementary
#6E1D7E #5D7E1D #1D7E3D
monochromatic
#17061B #43124C #6E1D7E #9928B0 #BB42D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1D7E#FFFFFF#000000##FFFFFF
##6E1D7E1.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)
#003E81
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#6F304C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1d7e;
/* rgb */ color: rgb(110, 29, 126);
/* oklch */ color: oklch(40.6% 0.164 320.4);
Tailwind
colors: {
  custom: {
    50: '#9b62a4',
    500: '#6e1d7e',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d7e;
$custom-light: #9b62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d7e",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 290.103,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.16372,
    "h": 320.4
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#6E1D7E
secondary
#57B145
accent
#E6425D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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