#6E1F79#6E1F79

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

Color values

HEX#6E1F79
RGBrgb(110, 31, 121)
HSLhsl(293, 59%, 30%)
HSVhsv(293, 74%, 47%)
CMYKcmyk(9.1%, 74.4%, 0%, 52.5%)
CIE-LABlab(28.58, 46.77, -34.18)
CIE-LCHlch(28.58, 57.93, 323.84°)
OKLaboklab(40.48% 0.1245 -0.0954)
OKLCHoklch(40.48% 0.157 322.5)
XYZxyz(10.3712, 5.6760, 18.6348)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F79 #2A791F
analogous
#411F79 #6E1F79 #791F57
triadic
#6E1F79 #796E1F #1F796E
tetradic
#6E1F79 #79411F #2A791F #1F5779
square
#6E1F79 #79411F #2A791F #1F5779
split-complementary
#6E1F79 #57791F #1F7941
monochromatic
#160618 #421348 #6E1F79 #9A2BAA #BE43CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1F79#FFFFFF#000000##FFFFFF
##6E1F791.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#2C4677
Tritanopia (blue-blind)
#702F4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1f79;
/* rgb */ color: rgb(110, 31, 121);
/* oklch */ color: oklch(40.5% 0.157 322.5);
Tailwind
colors: {
  custom: {
    50: '#9b63a0',
    500: '#6e1f79',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f79;
$custom-light: #9b63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f79",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 292.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.15687,
    "h": 322.5
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#6E1F79
secondary
#54AC47
accent
#E24559
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6E1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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