#68108E#68108E

#68108E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.187 H 311.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#68108E
RGBrgb(104, 16, 142)
HSLhsl(282, 80%, 31%)
HSVhsv(282, 89%, 56%)
CMYKcmyk(26.8%, 88.7%, 0%, 44.3%)
CIE-LABlab(27.48, 54.57, -49.17)
CIE-LCHlch(27.48, 73.45, 317.98°)
OKLaboklab(39.99% 0.1251 -0.1395)
OKLCHoklch(39.99% 0.187 311.9)
XYZxyz(10.7758, 5.2669, 26.0349)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68108E #368E10
analogous
#29108E #68108E #8E1075
triadic
#68108E #8E6810 #108E68
tetradic
#68108E #8E2910 #368E10 #10758E
square
#68108E #8E2910 #368E10 #10758E
split-complementary
#68108E #758E10 #108E29
monochromatic
#170420 #400A57 #68108E #9016C5 #B131E8

Accessibility & contrast

On white

10.23
#68108E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#68108E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68108E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68108E#FFFFFF#000000##FFFFFF
##68108E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#633453
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #68108e;
/* rgb */ color: rgb(104, 16, 142);
/* oklch */ color: oklch(40.0% 0.187 311.9);
Tailwind
colors: {
  custom: {
    50: '#985eb0',
    500: '#68108e',
    950: '#000000',
  },
}
SCSS
$custom: #68108e;
$custom-light: #985eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#68108e",
  "rgb": {
    "r": 104,
    "g": 16,
    "b": 142
  },
  "hsl": {
    "h": 281.905,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.18738,
    "h": 311.9
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#68108E
secondary
#61C337
accent
#F6326D
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #68108E

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

Preview Lab → · Contrast checker → · Palette generator →

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