#6E1B78#6E1B78

#6E1B78 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.161 H 323.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6E1B78
RGBrgb(110, 27, 120)
HSLhsl(294, 63%, 29%)
HSVhsv(294, 78%, 47%)
CMYKcmyk(8.3%, 77.5%, 0%, 52.9%)
CIE-LABlab(28.00, 48.07, -34.48)
CIE-LCHlch(28.00, 59.16, 324.35°)
OKLaboklab(40.04% 0.1286 -0.0963)
OKLCHoklch(40.04% 0.161 323.2)
XYZxyz(10.2122, 5.4555, 18.2808)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B78 #25781B
analogous
#401B78 #6E1B78 #781B54
triadic
#6E1B78 #786E1B #1B786E
tetradic
#6E1B78 #78401B #25781B #1B5478
square
#6E1B78 #78401B #25781B #1B5478
split-complementary
#6E1B78 #54781B #1B7840
monochromatic
#170619 #401046 #6E1B78 #9C26AA #C23BD3

Accessibility & contrast

On white

10.04
#6E1B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E1B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B78
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B78#FFFFFF#000000##FFFFFF
##6E1B781.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#2B4576
Tritanopia (blue-blind)
#702C48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1b78;
/* rgb */ color: rgb(110, 27, 120);
/* oklch */ color: oklch(40.0% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#9b619f',
    500: '#6e1b78',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b78;
$custom-light: #9b619f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b78",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 293.548,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.16065,
    "h": 323.2
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#6E1B78
secondary
#4EAC43
accent
#E64153
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1B78

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

Preview Lab → · Contrast checker → · Palette generator →

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