#68217A#68217A

#68217A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.153 H 318.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#68217A
RGBrgb(104, 33, 122)
HSLhsl(288, 57%, 30%)
HSVhsv(288, 73%, 48%)
CMYKcmyk(14.8%, 73%, 0%, 52.2%)
CIE-LABlab(27.94, 44.77, -35.89)
CIE-LCHlch(27.94, 57.38, 321.28°)
OKLaboklab(39.84% 0.1146 -0.1006)
OKLCHoklch(39.84% 0.153 318.7)
XYZxyz(9.7652, 5.4364, 18.9435)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68217A #337A21
analogous
#3B217A #68217A #7A215F
triadic
#68217A #7A6821 #217A68
tetradic
#68217A #7A3B21 #337A21 #215F7A
square
#68217A #7A3B21 #337A21 #215F7A
split-complementary
#68217A #5F7A21 #217A3B
monochromatic
#16071A #3F144A #68217A #912EAA #B248CD

Accessibility & contrast

On white

10.06
#68217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#68217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68217A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68217A#FFFFFF#000000##FFFFFF
##68217A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#264478
Tritanopia (blue-blind)
#68324B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68217a;
/* rgb */ color: rgb(104, 33, 122);
/* oklch */ color: oklch(39.8% 0.153 318.7);
Tailwind
colors: {
  custom: {
    50: '#9663a1',
    500: '#68217a',
    950: '#000000',
  },
}
SCSS
$custom: #68217a;
$custom-light: #9663a1;
$custom-dark: #000000;
JSON
{
  "hex": "#68217a",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 287.865,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.15255,
    "h": 318.7
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#68217A
secondary
#5EAD4A
accent
#E14766
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #68217A

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

Preview Lab → · Contrast checker → · Palette generator →

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