#6D217F#6D217F

#6D217F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.159 H 319.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6D217F
RGBrgb(109, 33, 127)
HSLhsl(289, 59%, 31%)
HSVhsv(289, 74%, 50%)
CMYKcmyk(14.2%, 74%, 0%, 50.2%)
CIE-LABlab(29.09, 46.94, -37.16)
CIE-LCHlch(29.09, 59.87, 321.63°)
OKLaboklab(40.93% 0.1207 -0.1042)
OKLCHoklch(40.93% 0.159 319.2)
XYZxyz(10.6808, 5.8717, 20.6453)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D217F #337F21
analogous
#3E217F #6D217F #7F2162
triadic
#6D217F #7F6D21 #217F6D
tetradic
#6D217F #7F3E21 #337F21 #21627F
square
#6D217F #7F3E21 #337F21 #21627F
split-complementary
#6D217F #627F21 #217F3E
monochromatic
#1A081E #43144E #6D217F #972EB0 #B64AD0

Accessibility & contrast

On white

9.66
#6D217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D217F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D217F#FFFFFF#000000##FFFFFF
##6D217F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#6D334E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d217f;
/* rgb */ color: rgb(109, 33, 127);
/* oklch */ color: oklch(40.9% 0.159 319.2);
Tailwind
colors: {
  custom: {
    50: '#9a64a5',
    500: '#6d217f',
    950: '#000000',
  },
}
SCSS
$custom: #6d217f;
$custom-light: #9a64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d217f",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 288.511,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.15948,
    "h": 319.2
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#6D217F
secondary
#5EB24A
accent
#E24664
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D217F

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

Preview Lab → · Contrast checker → · Palette generator →

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