#6F217C#6F217C

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

Color values

HEX#6F217C
RGBrgb(111, 33, 124)
HSLhsl(291, 58%, 31%)
HSVhsv(291, 73%, 49%)
CMYKcmyk(10.5%, 73.4%, 0%, 51.4%)
CIE-LABlab(29.22, 46.80, -35.05)
CIE-LCHlch(29.22, 58.47, 323.17°)
OKLaboklab(41.03% 0.1235 -0.098)
OKLCHoklch(41.03% 0.158 321.6)
XYZxyz(10.7371, 5.9230, 19.6426)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F217C #2E7C21
analogous
#41217C #6F217C #7C215B
triadic
#6F217C #7C6F21 #217C6F
tetradic
#6F217C #7C4121 #2E7C21 #215B7C
square
#6F217C #7C4121 #2E7C21 #215B7C
split-complementary
#6F217C #5B7C21 #217C41
monochromatic
#18071B #44144C #6F217C #9A2EAC #BB49CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F217C#FFFFFF#000000##FFFFFF
##6F217C1.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)
#003F7F
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#70324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f217c;
/* rgb */ color: rgb(111, 33, 124);
/* oklch */ color: oklch(41.0% 0.158 321.6);
Tailwind
colors: {
  custom: {
    50: '#9b64a2',
    500: '#6f217c',
    950: '#000000',
  },
}
SCSS
$custom: #6f217c;
$custom-light: #9b64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f217c",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 291.429,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.1576,
    "h": 321.6
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#6F217C
secondary
#58AF4A
accent
#E1475D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F217C

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

Preview Lab → · Contrast checker → · Palette generator →

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