#6E1B79#6E1B79

#6E1B79 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.162 H 322.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#6E1B79
RGBrgb(110, 27, 121)
HSLhsl(293, 64%, 29%)
HSVhsv(293, 78%, 47%)
CMYKcmyk(9.1%, 77.7%, 0%, 52.5%)
CIE-LABlab(28.06, 48.26, -35.01)
CIE-LCHlch(28.06, 59.62, 324.04°)
OKLaboklab(40.11% 0.1285 -0.0978)
OKLCHoklch(40.11% 0.162 322.7)
XYZxyz(10.2732, 5.4799, 18.6021)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B79 #26791B
analogous
#3F1B79 #6E1B79 #791B55
triadic
#6E1B79 #796E1B #1B796E
tetradic
#6E1B79 #793F1B #26791B #1B5579
square
#6E1B79 #793F1B #26791B #1B5579
split-complementary
#6E1B79 #55791B #1B793F
monochromatic
#170619 #411047 #6E1B79 #9B26AB #C13BD3

Accessibility & contrast

On white

10.02
#6E1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6E1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B79
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B79#FFFFFF#000000##FFFFFF
##6E1B791.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#2A4577
Tritanopia (blue-blind)
#702D49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1b79;
/* rgb */ color: rgb(110, 27, 121);
/* oklch */ color: oklch(40.1% 0.162 322.7);
Tailwind
colors: {
  custom: {
    50: '#9b61a0',
    500: '#6e1b79',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b79;
$custom-light: #9b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b79",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 292.979,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40105,
    "c": 0.16152,
    "h": 322.7
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#6E1B79
secondary
#4FAD43
accent
#E74155
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6E1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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