#68217B#68217B

#68217B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.9% C 0.154 H 318.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#68217B
RGBrgb(104, 33, 123)
HSLhsl(287, 58%, 31%)
HSVhsv(287, 73%, 48%)
CMYKcmyk(15.4%, 73.2%, 0%, 51.8%)
CIE-LABlab(28.01, 44.98, -36.41)
CIE-LCHlch(28.01, 57.87, 321.01°)
OKLaboklab(39.91% 0.1146 -0.1022)
OKLCHoklch(39.91% 0.154 318.3)
XYZxyz(9.8274, 5.4613, 19.2715)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68217B #347B21
analogous
#3B217B #68217B #7B2161
triadic
#68217B #7B6821 #217B68
tetradic
#68217B #7B3B21 #347B21 #21617B
square
#68217B #7B3B21 #347B21 #21617B
split-complementary
#68217B #617B21 #217B3B
monochromatic
#16071A #3F144B #68217B #912EAB #B248CE

Accessibility & contrast

On white

10.04
#68217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68217B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68217B#FFFFFF#000000##FFFFFF
##68217B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#68334C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68217b;
/* rgb */ color: rgb(104, 33, 123);
/* oklch */ color: oklch(39.9% 0.154 318.3);
Tailwind
colors: {
  custom: {
    50: '#9663a2',
    500: '#68217b',
    950: '#000000',
  },
}
SCSS
$custom: #68217b;
$custom-light: #9663a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68217b",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 287.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.15351,
    "h": 318.3
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#68217B
secondary
#5FAE4A
accent
#E14767
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68217B

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

Preview Lab → · Contrast checker → · Palette generator →

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