#6E1780#6E1780

#6E1780 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.172 H 319.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#6E1780
RGBrgb(110, 23, 128)
HSLhsl(290, 70%, 30%)
HSVhsv(290, 82%, 50%)
CMYKcmyk(14.1%, 82%, 0%, 49.8%)
CIE-LABlab(28.08, 50.92, -39.40)
CIE-LCHlch(28.08, 64.39, 322.27°)
OKLaboklab(40.27% 0.1313 -0.1107)
OKLCHoklch(40.27% 0.172 319.9)
XYZxyz(10.6326, 5.4869, 20.9169)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1780 #298017
analogous
#391780 #6E1780 #80175E
triadic
#6E1780 #806E17 #17806E
tetradic
#6E1780 #803917 #298017 #175E80
square
#6E1780 #803917 #298017 #175E80
split-complementary
#6E1780 #5E8017 #178039
monochromatic
#16051A #410E4C #6E1780 #9B20B4 #BF36DB

Accessibility & contrast

On white

10.01
#6E1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1780
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1780#FFFFFF#000000##FFFFFF
##6E17801.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#6E2E4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1780;
/* rgb */ color: rgb(110, 23, 128);
/* oklch */ color: oklch(40.3% 0.172 319.9);
Tailwind
colors: {
  custom: {
    50: '#9b60a5',
    500: '#6e1780',
    950: '#000000',
  },
}
SCSS
$custom: #6e1780;
$custom-light: #9b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1780",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 289.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.1717,
    "h": 319.9
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#6E1780
secondary
#53B43E
accent
#EC3B5A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E1780

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

Preview Lab → · Contrast checker → · Palette generator →

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