#6E1B80#6E1B80

#6E1B80 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.168 H 319.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6E1B80
RGBrgb(110, 27, 128)
HSLhsl(289, 65%, 30%)
HSVhsv(289, 79%, 50%)
CMYKcmyk(14.1%, 78.9%, 0%, 49.8%)
CIE-LABlab(28.53, 49.61, -38.67)
CIE-LCHlch(28.53, 62.90, 322.06°)
OKLaboklab(40.59% 0.1278 -0.1086)
OKLCHoklch(40.59% 0.168 319.7)
XYZxyz(10.7181, 5.6579, 20.9454)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B80 #2D801B
analogous
#3B1B80 #6E1B80 #801B5F
triadic
#6E1B80 #806E1B #1B806E
tetradic
#6E1B80 #803B1B #2D801B #1B5F80
square
#6E1B80 #803B1B #2D801B #1B5F80
split-complementary
#6E1B80 #5F801B #1B803B
monochromatic
#17061B #43104D #6E1B80 #9926B3 #BB3FD6

Accessibility & contrast

On white

9.85
#6E1B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E1B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B80
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B80#FFFFFF#000000##FFFFFF
##6E1B801.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#6E304D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1b80;
/* rgb */ color: rgb(110, 27, 128);
/* oklch */ color: oklch(40.6% 0.168 319.7);
Tailwind
colors: {
  custom: {
    50: '#9b62a5',
    500: '#6e1b80',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b80;
$custom-light: #9b62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b80",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 289.307,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.1677,
    "h": 319.7
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#6E1B80
secondary
#57B443
accent
#E8405E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6E1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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