#6D1381#6D1381

#6D1381 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.176 H 319.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#6D1381
RGBrgb(109, 19, 129)
HSLhsl(289, 74%, 29%)
HSVhsv(289, 85%, 51%)
CMYKcmyk(15.5%, 85.3%, 0%, 49.4%)
CIE-LABlab(27.58, 52.08, -40.85)
CIE-LCHlch(27.58, 66.19, 321.89°)
OKLaboklab(39.91% 0.1329 -0.1149)
OKLCHoklch(39.91% 0.176 319.2)
XYZxyz(10.5015, 5.3025, 21.2349)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1381 #278113
analogous
#361381 #6D1381 #81135E
triadic
#6D1381 #816D13 #13816D
tetradic
#6D1381 #813613 #278113 #135E81
square
#6D1381 #813613 #278113 #135E81
split-complementary
#6D1381 #5E8113 #138136
monochromatic
#17041B #400B4C #6D1381 #9A1BB6 #C02EE0

Accessibility & contrast

On white

10.19
#6D1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6D1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1381
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1381#FFFFFF#000000##FFFFFF
##6D13811.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#6D2D4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1381;
/* rgb */ color: rgb(109, 19, 129);
/* oklch */ color: oklch(39.9% 0.176 319.2);
Tailwind
colors: {
  custom: {
    50: '#9b5fa6',
    500: '#6d1381',
    950: '#000000',
  },
}
SCSS
$custom: #6d1381;
$custom-light: #9b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1381",
  "rgb": {
    "r": 109,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 289.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39908,
    "c": 0.17568,
    "h": 319.2
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#6D1381
secondary
#50B63A
accent
#F13759
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D1381

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

Preview Lab → · Contrast checker → · Palette generator →

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