#6E1C80#6E1C80

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

Color values

HEX#6E1C80
RGBrgb(110, 28, 128)
HSLhsl(289, 64%, 31%)
HSVhsv(289, 78%, 50%)
CMYKcmyk(14.1%, 78.1%, 0%, 49.8%)
CIE-LABlab(28.65, 49.26, -38.48)
CIE-LCHlch(28.65, 62.51, 322.01°)
OKLaboklab(40.68% 0.1269 -0.108)
OKLCHoklch(40.68% 0.167 319.6)
XYZxyz(10.7414, 5.7046, 20.9532)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C80 #2E801C
analogous
#3C1C80 #6E1C80 #801C60
triadic
#6E1C80 #806E1C #1C806E
tetradic
#6E1C80 #803C1C #2E801C #1C6080
square
#6E1C80 #803C1C #2E801C #1C6080
split-complementary
#6E1C80 #60801C #1C803C
monochromatic
#18061C #43114E #6E1C80 #9927B2 #BB41D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1C80#FFFFFF#000000##FFFFFF
##6E1C801.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)
#003E83
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#6E314D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1c80;
/* rgb */ color: rgb(110, 28, 128);
/* oklch */ color: oklch(40.7% 0.167 319.6);
Tailwind
colors: {
  custom: {
    50: '#9b62a5',
    500: '#6e1c80',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c80;
$custom-light: #9b62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c80",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 289.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40677,
    "c": 0.16663,
    "h": 319.6
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#6E1C80
secondary
#58B344
accent
#E7415F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1C80

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

Preview Lab → · Contrast checker → · Palette generator →

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