#6E217F#6E217F

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

Color values

HEX#6E217F
RGBrgb(110, 33, 127)
HSLhsl(289, 59%, 31%)
HSVhsv(289, 74%, 50%)
CMYKcmyk(13.4%, 74%, 0%, 50.2%)
CIE-LABlab(29.25, 47.17, -36.89)
CIE-LCHlch(29.25, 59.89, 321.97°)
OKLaboklab(41.08% 0.122 -0.1034)
OKLCHoklch(41.08% 0.16 319.7)
XYZxyz(10.8045, 5.9355, 20.6511)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E217F #327F21
analogous
#3F217F #6E217F #7F2161
triadic
#6E217F #7F6E21 #217F6E
tetradic
#6E217F #7F3F21 #327F21 #21617F
square
#6E217F #7F3F21 #327F21 #21617F
split-complementary
#6E217F #617F21 #217F3F
monochromatic
#1A081E #44144E #6E217F #982EB0 #B84AD0

Accessibility & contrast

On white

9.60
#6E217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E217F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E217F#FFFFFF#000000##FFFFFF
##6E217F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e217f;
/* rgb */ color: rgb(110, 33, 127);
/* oklch */ color: oklch(41.1% 0.160 319.7);
Tailwind
colors: {
  custom: {
    50: '#9b64a5',
    500: '#6e217f',
    950: '#000000',
  },
}
SCSS
$custom: #6e217f;
$custom-light: #9b64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e217f",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 289.149,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.15992,
    "h": 319.7
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#6E217F
secondary
#5DB24A
accent
#E24662
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E217F

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

Preview Lab → · Contrast checker → · Palette generator →

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