#6F217F#6F217F

#6F217F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.160 H 320.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6F217F
RGBrgb(111, 33, 127)
HSLhsl(290, 59%, 31%)
HSVhsv(290, 74%, 50%)
CMYKcmyk(12.6%, 74%, 0%, 50.2%)
CIE-LABlab(29.41, 47.40, -36.62)
CIE-LCHlch(29.41, 59.90, 322.31°)
OKLaboklab(41.23% 0.1233 -0.1026)
OKLCHoklch(41.23% 0.16 320.2)
XYZxyz(10.9297, 6.0001, 20.6570)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F217F #317F21
analogous
#40217F #6F217F #7F2160
triadic
#6F217F #7F6F21 #217F6F
tetradic
#6F217F #7F4021 #317F21 #21607F
square
#6F217F #7F4021 #317F21 #21607F
split-complementary
#6F217F #607F21 #217F40
monochromatic
#1A081E #45144E #6F217F #992EB0 #B94AD0

Accessibility & contrast

On white

9.55
#6F217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6F217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F217F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F217F#FFFFFF#000000##FFFFFF
##6F217F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#6F334E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f217f;
/* rgb */ color: rgb(111, 33, 127);
/* oklch */ color: oklch(41.2% 0.160 320.2);
Tailwind
colors: {
  custom: {
    50: '#9c64a5',
    500: '#6f217f',
    950: '#000000',
  },
}
SCSS
$custom: #6f217f;
$custom-light: #9c64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f217f",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 289.787,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.16036,
    "h": 320.2
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#6F217F
secondary
#5CB24A
accent
#E24660
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F217F

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

Preview Lab → · Contrast checker → · Palette generator →

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