#6D2181#6D2181

#6D2181 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.161 H 318.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6D2181
RGBrgb(109, 33, 129)
HSLhsl(288, 59%, 32%)
HSVhsv(288, 74%, 51%)
CMYKcmyk(15.5%, 74.4%, 0%, 49.4%)
CIE-LABlab(29.22, 47.35, -38.20)
CIE-LCHlch(29.22, 60.84, 321.10°)
OKLaboklab(41.07% 0.1206 -0.1073)
OKLCHoklch(41.07% 0.161 318.3)
XYZxyz(10.8124, 5.9244, 21.3386)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2181 #358121
analogous
#3D2181 #6D2181 #812165
triadic
#6D2181 #816D21 #21816D
tetradic
#6D2181 #813D21 #358121 #216581
square
#6D2181 #813D21 #358121 #216581
split-complementary
#6D2181 #658121 #21813D
monochromatic
#1B0820 #441550 #6D2181 #962DB2 #B54BD1

Accessibility & contrast

On white

9.61
#6D2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6D2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2181
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2181#FFFFFF#000000##FFFFFF
##6D21811.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#26477F
Tritanopia (blue-blind)
#6D344F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2181;
/* rgb */ color: rgb(109, 33, 129);
/* oklch */ color: oklch(41.1% 0.161 318.3);
Tailwind
colors: {
  custom: {
    50: '#9a64a6',
    500: '#6d2181',
    950: '#000000',
  },
}
SCSS
$custom: #6d2181;
$custom-light: #9a64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2181",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 287.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.16136,
    "h": 318.3
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#6D2181
secondary
#60B44A
accent
#E24566
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D2181

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

Preview Lab → · Contrast checker → · Palette generator →

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