#6E1F7E#6E1F7E

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

Color values

HEX#6E1F7E
RGBrgb(110, 31, 126)
HSLhsl(290, 61%, 31%)
HSVhsv(290, 75%, 49%)
CMYKcmyk(12.7%, 75.4%, 0%, 50.6%)
CIE-LABlab(28.91, 47.75, -36.81)
CIE-LCHlch(28.91, 60.30, 322.37°)
OKLaboklab(40.81% 0.1242 -0.1031)
OKLCHoklch(40.81% 0.161 320.3)
XYZxyz(10.6858, 5.8019, 20.2916)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F7E #2F7E1F
analogous
#3E1F7E #6E1F7E #7E1F5E
triadic
#6E1F7E #7E6E1F #1F7E6E
tetradic
#6E1F7E #7E3E1F #2F7E1F #1F5E7E
square
#6E1F7E #7E3E1F #2F7E1F #1F5E7E
split-complementary
#6E1F7E #5E7E1F #1F7E3E
monochromatic
#18071C #43134D #6E1F7E #992BAF #BA46D1

Accessibility & contrast

On white

9.72
#6E1F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1F7E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F7E#FFFFFF#000000##FFFFFF
##6E1F7E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#6E324D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1f7e;
/* rgb */ color: rgb(110, 31, 126);
/* oklch */ color: oklch(40.8% 0.161 320.3);
Tailwind
colors: {
  custom: {
    50: '#9b63a4',
    500: '#6e1f7e',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f7e;
$custom-light: #9b63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f7e",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 289.895,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40813,
    "c": 0.16141,
    "h": 320.3
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#6E1F7E
secondary
#59B148
accent
#E4445F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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