#68208E#68208E

#68208E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.173 H 310.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#68208E
RGBrgb(104, 32, 142)
HSLhsl(279, 63%, 34%)
HSVhsv(279, 77%, 56%)
CMYKcmyk(26.8%, 77.5%, 0%, 44.3%)
CIE-LABlab(29.23, 49.48, -46.32)
CIE-LCHlch(29.23, 67.78, 316.89°)
OKLaboklab(41.21% 0.113 -0.1312)
OKLCHoklch(41.21% 0.173 310.7)
XYZxyz(11.1070, 5.9293, 26.1453)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68208E #468E20
analogous
#31208E #68208E #8E207D
triadic
#68208E #8E6820 #208E68
tetradic
#68208E #8E3120 #468E20 #207D8E
square
#68208E #8E3120 #468E20 #207D8E
split-complementary
#68208E #7D8E20 #208E31
monochromatic
#1F092A #43155C #68208E #8D2BC0 #A951D8

Accessibility & contrast

On white

9.61
#68208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68208E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68208E#FFFFFF#000000##FFFFFF
##68208E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#05468C
Tritanopia (blue-blind)
#633A56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68208e;
/* rgb */ color: rgb(104, 32, 142);
/* oklch */ color: oklch(41.2% 0.173 310.7);
Tailwind
colors: {
  custom: {
    50: '#9764b0',
    500: '#68208e',
    950: '#000000',
  },
}
SCSS
$custom: #68208e;
$custom-light: #9764b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68208e",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 279.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.17317,
    "h": 310.7
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#68208E
secondary
#74BB4F
accent
#E6427A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68208E

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

Preview Lab → · Contrast checker → · Palette generator →

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