#6E1F7A#6E1F7A

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

Color values

HEX#6E1F7A
RGBrgb(110, 31, 122)
HSLhsl(292, 59%, 30%)
HSVhsv(292, 75%, 48%)
CMYKcmyk(9.8%, 74.6%, 0%, 52.2%)
CIE-LABlab(28.64, 46.97, -34.71)
CIE-LCHlch(28.64, 58.40, 323.54°)
OKLaboklab(40.54% 0.1244 -0.097)
OKLCHoklch(40.54% 0.158 322.1)
XYZxyz(10.4329, 5.7007, 18.9594)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F7A #2B7A1F
analogous
#411F7A #6E1F7A #7A1F58
triadic
#6E1F7A #7A6E1F #1F7A6E
tetradic
#6E1F7A #7A411F #2B7A1F #1F587A
square
#6E1F7A #7A411F #2B7A1F #1F587A
split-complementary
#6E1F7A #587A1F #1F7A41
monochromatic
#160618 #421349 #6E1F7A #9A2BAB #BD44CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1F7A#FFFFFF#000000##FFFFFF
##6E1F7A1.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)
#003E7D
Deuteranopia (green-blind)
#2C4678
Tritanopia (blue-blind)
#6F304A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1f7a;
/* rgb */ color: rgb(110, 31, 122);
/* oklch */ color: oklch(40.5% 0.158 322.1);
Tailwind
colors: {
  custom: {
    50: '#9b63a1',
    500: '#6e1f7a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f7a;
$custom-light: #9b63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f7a",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 292.088,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.15777,
    "h": 322.1
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#6E1F7A
secondary
#55AD47
accent
#E3455A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6E1F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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