#6D2180#6D2180

#6D2180 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.160 H 318.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6D2180
RGBrgb(109, 33, 128)
HSLhsl(288, 59%, 32%)
HSVhsv(288, 74%, 50%)
CMYKcmyk(14.8%, 74.2%, 0%, 49.8%)
CIE-LABlab(29.15, 47.15, -37.69)
CIE-LCHlch(29.15, 60.36, 321.36°)
OKLaboklab(41% 0.1206 -0.1057)
OKLCHoklch(41% 0.16 318.8)
XYZxyz(10.7463, 5.8979, 20.9903)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2180 #348021
analogous
#3E2180 #6D2180 #802164
triadic
#6D2180 #806D21 #21806D
tetradic
#6D2180 #803E21 #348021 #216480
square
#6D2180 #803E21 #348021 #216480
split-complementary
#6D2180 #648021 #21803E
monochromatic
#1A081F #44144F #6D2180 #962EB1 #B64BD1

Accessibility & contrast

On white

9.64
#6D2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2180
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2180#FFFFFF#000000##FFFFFF
##6D21801.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#6D344E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2180;
/* rgb */ color: rgb(109, 33, 128);
/* oklch */ color: oklch(41.0% 0.160 318.8);
Tailwind
colors: {
  custom: {
    50: '#9a64a5',
    500: '#6d2180',
    950: '#000000',
  },
}
SCSS
$custom: #6d2180;
$custom-light: #9a64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2180",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 288,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40999,
    "c": 0.16042,
    "h": 318.8
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#6D2180
secondary
#5FB34A
accent
#E24665
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D2180

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

Preview Lab → · Contrast checker → · Palette generator →

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