#6D1481#6D1481

#6D1481 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.175 H 319.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6D1481
RGBrgb(109, 20, 129)
HSLhsl(289, 73%, 29%)
HSVhsv(289, 84%, 51%)
CMYKcmyk(15.5%, 84.5%, 0%, 49.4%)
CIE-LABlab(27.67, 51.81, -40.69)
CIE-LCHlch(27.67, 65.88, 321.85°)
OKLaboklab(39.97% 0.1322 -0.1145)
OKLCHoklch(39.97% 0.175 319.1)
XYZxyz(10.5188, 5.3370, 21.2407)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1481 #288114
analogous
#371481 #6D1481 #81145F
triadic
#6D1481 #816D14 #14816D
tetradic
#6D1481 #813714 #288114 #145F81
square
#6D1481 #813714 #288114 #145F81
split-complementary
#6D1481 #5F8114 #148137
monochromatic
#16041A #400C4C #6D1481 #9A1CB6 #BF30DF

Accessibility & contrast

On white

10.16
#6D1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1481
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1481#FFFFFF#000000##FFFFFF
##6D14811.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1481;
/* rgb */ color: rgb(109, 20, 129);
/* oklch */ color: oklch(40.0% 0.175 319.1);
Tailwind
colors: {
  custom: {
    50: '#9b5fa6',
    500: '#6d1481',
    950: '#000000',
  },
}
SCSS
$custom: #6d1481;
$custom-light: #9b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1481",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 288.991,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.17485,
    "h": 319.1
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#6D1481
secondary
#51B63B
accent
#F0385A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D1481

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

Preview Lab → · Contrast checker → · Palette generator →

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