#6D217D#6D217D

#6D217D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.158 H 320.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#6D217D
RGBrgb(109, 33, 125)
HSLhsl(290, 58%, 31%)
HSVhsv(290, 74%, 49%)
CMYKcmyk(12.8%, 73.6%, 0%, 51%)
CIE-LABlab(28.95, 46.54, -36.12)
CIE-LCHlch(28.95, 58.91, 322.19°)
OKLaboklab(40.79% 0.1209 -0.1011)
OKLCHoklch(40.79% 0.158 320.1)
XYZxyz(10.5517, 5.8201, 19.9657)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D217D #317D21
analogous
#3F217D #6D217D #7D215F
triadic
#6D217D #7D6D21 #217D6D
tetradic
#6D217D #7D3F21 #317D21 #215F7D
square
#6D217D #7D3F21 #317D21 #215F7D
split-complementary
#6D217D #5F7D21 #217D3F
monochromatic
#19071C #43144D #6D217D #972EAD #B849CF

Accessibility & contrast

On white

9.70
#6D217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6D217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D217D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D217D#FFFFFF#000000##FFFFFF
##6D217D1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#6D324D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d217d;
/* rgb */ color: rgb(109, 33, 125);
/* oklch */ color: oklch(40.8% 0.158 320.1);
Tailwind
colors: {
  custom: {
    50: '#9a64a3',
    500: '#6d217d',
    950: '#000000',
  },
}
SCSS
$custom: #6d217d;
$custom-light: #9a64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d217d",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 289.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.15761,
    "h": 320.1
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#6D217D
secondary
#5CB04A
accent
#E14661
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D217D

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

Preview Lab → · Contrast checker → · Palette generator →

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