#681168#681168

#681168 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.155 H 328.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#681168
RGBrgb(104, 17, 104)
HSLhsl(300, 72%, 24%)
HSVhsv(300, 84%, 41%)
CMYKcmyk(0%, 83.7%, 0%, 59.2%)
CIE-LABlab(24.78, 47.02, -29.40)
CIE-LCHlch(24.78, 55.45, 327.99°)
OKLaboklab(37.21% 0.1313 -0.0816)
OKLCHoklch(37.21% 0.155 328.1)
XYZxyz(8.4080, 4.3441, 13.4897)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681168 #116811
analogous
#3C1168 #681168 #68113C
triadic
#681168 #686811 #116868
tetradic
#681168 #683C11 #116811 #113C68
square
#681168 #683C11 #116811 #113C68
split-complementary
#681168 #3C6811 #11683C
monochromatic
#1A041A #330833 #681168 #9D1A9D #D122D1

Accessibility & contrast

On white

11.24
#681168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#681168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681168
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681168#FFFFFF#000000##FFFFFF
##6811681.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#2B3F66
Tritanopia (blue-blind)
#6C203D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #681168;
/* rgb */ color: rgb(104, 17, 104);
/* oklch */ color: oklch(37.2% 0.155 328.1);
Tailwind
colors: {
  custom: {
    50: '#965c93',
    500: '#681168',
    950: '#000000',
  },
}
SCSS
$custom: #681168;
$custom-light: #965c93;
$custom-dark: #000000;
JSON
{
  "hex": "#681168",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 300,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.15456,
    "h": 328.1
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#681168
secondary
#35A035
accent
#EF3939
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #681168

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

Preview Lab → · Contrast checker → · Palette generator →

#681168 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva