#6E1381#6E1381

#6E1381 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.176 H 319.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6E1381
RGBrgb(110, 19, 129)
HSLhsl(290, 74%, 29%)
HSVhsv(290, 85%, 51%)
CMYKcmyk(14.7%, 85.3%, 0%, 49.4%)
CIE-LABlab(27.75, 52.27, -40.56)
CIE-LCHlch(27.75, 66.16, 322.19°)
OKLaboklab(40.06% 0.1341 -0.114)
OKLCHoklch(40.06% 0.176 319.6)
XYZxyz(10.6252, 5.3663, 21.2408)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1381 #268113
analogous
#371381 #6E1381 #81135D
triadic
#6E1381 #816E13 #13816E
tetradic
#6E1381 #813713 #268113 #135D81
square
#6E1381 #813713 #268113 #135D81
split-complementary
#6E1381 #5D8113 #138137
monochromatic
#17041B #410B4C #6E1381 #9B1BB6 #C12EE0

Accessibility & contrast

On white

10.13
#6E1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6E1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1381
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1381#FFFFFF#000000##FFFFFF
##6E13811.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#1E447F
Tritanopia (blue-blind)
#6E2D4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1381;
/* rgb */ color: rgb(110, 19, 129);
/* oklch */ color: oklch(40.1% 0.176 319.6);
Tailwind
colors: {
  custom: {
    50: '#9b5fa6',
    500: '#6e1381',
    950: '#000000',
  },
}
SCSS
$custom: #6e1381;
$custom-light: #9b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1381",
  "rgb": {
    "r": 110,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 289.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40064,
    "c": 0.17605,
    "h": 319.6
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#6E1381
secondary
#4FB63A
accent
#F13757
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6E1381

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

Preview Lab → · Contrast checker → · Palette generator →

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