#68208F#68208F

#68208F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.174 H 310.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#68208F
RGBrgb(104, 32, 143)
HSLhsl(279, 63%, 34%)
HSVhsv(279, 78%, 56%)
CMYKcmyk(27.3%, 77.6%, 0%, 43.9%)
CIE-LABlab(29.31, 49.70, -46.82)
CIE-LCHlch(29.31, 68.28, 316.71°)
OKLaboklab(41.29% 0.1128 -0.1327)
OKLCHoklch(41.29% 0.174 310.4)
XYZxyz(11.1824, 5.9595, 26.5425)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68208F #478F20
analogous
#31208F #68208F #8F207F
triadic
#68208F #8F6820 #208F68
tetradic
#68208F #8F3120 #478F20 #207F8F
square
#68208F #8F3120 #478F20 #207F8F
split-complementary
#68208F #7F8F20 #208F31
monochromatic
#1F0A2B #44155D #68208F #8C2BC1 #A951D8

Accessibility & contrast

On white

9.58
#68208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#68208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68208F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68208F#FFFFFF#000000##FFFFFF
##68208F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#02468D
Tritanopia (blue-blind)
#633B56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68208f;
/* rgb */ color: rgb(104, 32, 143);
/* oklch */ color: oklch(41.3% 0.174 310.4);
Tailwind
colors: {
  custom: {
    50: '#9764b1',
    500: '#68208f',
    950: '#000000',
  },
}
SCSS
$custom: #68208f;
$custom-light: #9764b1;
$custom-dark: #000000;
JSON
{
  "hex": "#68208f",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 278.919,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.17414,
    "h": 310.4
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#68208F
secondary
#75BB4F
accent
#E6417B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68208F

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

Preview Lab → · Contrast checker → · Palette generator →

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