#68217E#68217E

#68217E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.156 H 317.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#68217E
RGBrgb(104, 33, 126)
HSLhsl(286, 58%, 31%)
HSVhsv(286, 74%, 49%)
CMYKcmyk(17.5%, 73.8%, 0%, 50.6%)
CIE-LABlab(28.21, 45.61, -37.98)
CIE-LCHlch(28.21, 59.35, 320.21°)
OKLaboklab(40.12% 0.1143 -0.1068)
OKLCHoklch(40.12% 0.156 317)
XYZxyz(10.0181, 5.5375, 20.2758)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68217E #377E21
analogous
#39217E #68217E #7E2165
triadic
#68217E #7E6821 #217E68
tetradic
#68217E #7E3921 #377E21 #21657E
square
#68217E #7E3921 #377E21 #21657E
split-complementary
#68217E #657E21 #217E39
monochromatic
#18081D #40144E #68217E #902EAE #B04AD0

Accessibility & contrast

On white

9.96
#68217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#68217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68217E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68217E#FFFFFF#000000##FFFFFF
##68217E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#67344D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68217e;
/* rgb */ color: rgb(104, 33, 126);
/* oklch */ color: oklch(40.1% 0.156 317.0);
Tailwind
colors: {
  custom: {
    50: '#9663a4',
    500: '#68217e',
    950: '#000000',
  },
}
SCSS
$custom: #68217e;
$custom-light: #9663a4;
$custom-dark: #000000;
JSON
{
  "hex": "#68217e",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 285.806,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.1564,
    "h": 317
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#68217E
secondary
#62B14A
accent
#E2466B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68217E

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

Preview Lab → · Contrast checker → · Palette generator →

#68217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva