#68218A#68218A

#68218A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.168 H 312.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#68218A
RGBrgb(104, 33, 138)
HSLhsl(281, 61%, 34%)
HSVhsv(281, 76%, 54%)
CMYKcmyk(24.6%, 76.1%, 0%, 45.9%)
CIE-LABlab(29.07, 48.20, -44.10)
CIE-LCHlch(29.07, 65.33, 317.54°)
OKLaboklab(41.01% 0.1127 -0.1247)
OKLCHoklch(41.01% 0.168 312.1)
XYZxyz(10.8394, 5.8660, 24.6011)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68218A #438A21
analogous
#33218A #68218A #8A2177
triadic
#68218A #8A6821 #218A68
tetradic
#68218A #8A3321 #438A21 #21778A
square
#68218A #8A3321 #438A21 #21778A
split-complementary
#68218A #778A21 #218A33
monochromatic
#1E0927 #431559 #68218A #8D2DBB #AA50D5

Accessibility & contrast

On white

9.66
#68218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#68218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68218A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68218A#FFFFFF#000000##FFFFFF
##68218A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#643954
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68218a;
/* rgb */ color: rgb(104, 33, 138);
/* oklch */ color: oklch(41.0% 0.168 312.1);
Tailwind
colors: {
  custom: {
    50: '#9764ad',
    500: '#68218a',
    950: '#000000',
  },
}
SCSS
$custom: #68218a;
$custom-light: #9764ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68218a",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 280.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.16812,
    "h": 312.1
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#68218A
secondary
#71B94E
accent
#E54377
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68218A

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

Preview Lab → · Contrast checker → · Palette generator →

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