#681996#681996

#681996 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.188 H 308.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#681996
RGBrgb(104, 25, 150)
HSLhsl(278, 71%, 34%)
HSVhsv(278, 83%, 59%)
CMYKcmyk(30.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(29.01, 53.74, -51.62)
CIE-LCHlch(29.01, 74.52, 316.15°)
OKLaboklab(41.25% 0.1169 -0.1468)
OKLCHoklch(41.25% 0.188 308.5)
XYZxyz(11.5604, 5.8405, 29.3666)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681996 #479619
analogous
#2A1996 #681996 #961986
triadic
#681996 #966819 #199668
tetradic
#681996 #962A19 #479619 #198696
square
#681996 #962A19 #479619 #198696
split-complementary
#681996 #869619 #19962A
monochromatic
#1F082D #441062 #681996 #8C22CA #A949E1

Accessibility & contrast

On white

9.69
#681996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#681996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##681996#FFFFFF#000000##FFFFFF
##6819961.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)
#004299
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#613B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681996;
/* rgb */ color: rgb(104, 25, 150);
/* oklch */ color: oklch(41.3% 0.188 308.5);
Tailwind
colors: {
  custom: {
    50: '#9861b6',
    500: '#681996',
    950: '#000000',
  },
}
SCSS
$custom: #681996;
$custom-light: #9861b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681996",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 277.92,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41254,
    "c": 0.18766,
    "h": 308.5
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#681996
secondary
#75C249
accent
#EE3A7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681996

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

Preview Lab → · Contrast checker → · Palette generator →

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