#6F217D#6F217D

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

Color values

HEX#6F217D
RGBrgb(111, 33, 125)
HSLhsl(291, 58%, 31%)
HSVhsv(291, 74%, 49%)
CMYKcmyk(11.2%, 73.6%, 0%, 51%)
CIE-LABlab(29.28, 47.00, -35.57)
CIE-LCHlch(29.28, 58.94, 322.88°)
OKLaboklab(41.09% 0.1234 -0.0995)
OKLCHoklch(41.09% 0.159 321.1)
XYZxyz(10.8007, 5.9485, 19.9773)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F217D #2F7D21
analogous
#41217D #6F217D #7D215D
triadic
#6F217D #7D6F21 #217D6F
tetradic
#6F217D #7D4121 #2F7D21 #215D7D
square
#6F217D #7D4121 #2F7D21 #215D7D
split-complementary
#6F217D #5D7D21 #217D41
monochromatic
#19071C #44144D #6F217D #9A2EAD #BB49CF

Accessibility & contrast

On white

9.59
#6F217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6F217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F217D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F217D#FFFFFF#000000##FFFFFF
##6F217D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#70324D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f217d;
/* rgb */ color: rgb(111, 33, 125);
/* oklch */ color: oklch(41.1% 0.159 321.1);
Tailwind
colors: {
  custom: {
    50: '#9b64a3',
    500: '#6f217d',
    950: '#000000',
  },
}
SCSS
$custom: #6f217d;
$custom-light: #9b64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f217d",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 290.87,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.15852,
    "h": 321.1
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#6F217D
secondary
#59B04A
accent
#E1465E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F217D

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

Preview Lab → · Contrast checker → · Palette generator →

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