#6D217C#6D217C

#6D217C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.157 H 320.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6D217C
RGBrgb(109, 33, 124)
HSLhsl(290, 58%, 31%)
HSVhsv(290, 73%, 49%)
CMYKcmyk(12.1%, 73.4%, 0%, 51.4%)
CIE-LABlab(28.89, 46.34, -35.59)
CIE-LCHlch(28.89, 58.43, 322.47°)
OKLaboklab(40.73% 0.1209 -0.0996)
OKLCHoklch(40.73% 0.157 320.5)
XYZxyz(10.4882, 5.7947, 19.6309)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D217C #307C21
analogous
#3F217C #6D217C #7C215D
triadic
#6D217C #7C6D21 #217C6D
tetradic
#6D217C #7C3F21 #307C21 #215D7C
square
#6D217C #7C3F21 #307C21 #215D7C
split-complementary
#6D217C #5D7C21 #217C3F
monochromatic
#18071B #43144C #6D217C #972EAC #B849CF

Accessibility & contrast

On white

9.73
#6D217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D217C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D217C#FFFFFF#000000##FFFFFF
##6D217C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#2A477A
Tritanopia (blue-blind)
#6E324C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d217c;
/* rgb */ color: rgb(109, 33, 124);
/* oklch */ color: oklch(40.7% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#9a64a2',
    500: '#6d217c',
    950: '#000000',
  },
}
SCSS
$custom: #6d217c;
$custom-light: #9a64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d217c",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 290.11,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40725,
    "c": 0.15667,
    "h": 320.5
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#6D217C
secondary
#5BAF4A
accent
#E14760
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D217C

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

Preview Lab → · Contrast checker → · Palette generator →

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