#68208B#68208B

#68208B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.170 H 311.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#68208B
RGBrgb(104, 32, 139)
HSLhsl(280, 63%, 34%)
HSVhsv(280, 77%, 55%)
CMYKcmyk(25.2%, 77%, 0%, 45.5%)
CIE-LABlab(29.01, 48.82, -44.83)
CIE-LCHlch(29.01, 66.28, 317.44°)
OKLaboklab(40.98% 0.1135 -0.1269)
OKLCHoklch(40.98% 0.17 311.8)
XYZxyz(10.8848, 5.8405, 24.9750)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68208B #438B20
analogous
#32208B #68208B #8B2078
triadic
#68208B #8B6820 #208B68
tetradic
#68208B #8B3220 #438B20 #20788B
square
#68208B #8B3220 #438B20 #20788B
split-complementary
#68208B #788B20 #208B32
monochromatic
#1E0928 #431559 #68208B #8D2BBD #AA4FD6

Accessibility & contrast

On white

9.69
#68208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#68208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68208B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68208B#FFFFFF#000000##FFFFFF
##68208B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#0E4689
Tritanopia (blue-blind)
#643954
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68208b;
/* rgb */ color: rgb(104, 32, 139);
/* oklch */ color: oklch(41.0% 0.170 311.8);
Tailwind
colors: {
  custom: {
    50: '#9764ae',
    500: '#68208b',
    950: '#000000',
  },
}
SCSS
$custom: #68208b;
$custom-light: #9764ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68208b",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 280.374,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.17024,
    "h": 311.8
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#68208B
secondary
#71BA4D
accent
#E64278
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68208B

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

Preview Lab → · Contrast checker → · Palette generator →

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