#681698#681698

#681698 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.192 H 308.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#681698
RGBrgb(104, 22, 152)
HSLhsl(278, 75%, 34%)
HSVhsv(278, 86%, 60%)
CMYKcmyk(31.6%, 85.5%, 0%, 40.4%)
CIE-LABlab(28.86, 55.09, -53.09)
CIE-LCHlch(28.86, 76.50, 316.06°)
OKLaboklab(41.21% 0.1184 -0.1511)
OKLCHoklch(41.21% 0.192 308.1)
XYZxyz(11.6621, 5.7841, 30.2017)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681698 #469816
analogous
#271698 #681698 #981687
triadic
#681698 #986816 #169868
tetradic
#681698 #982716 #469816 #168798
square
#681698 #982716 #469816 #168798
split-complementary
#681698 #879816 #169827
monochromatic
#1F072D #430E63 #681698 #8D1ECD #A944E4

Accessibility & contrast

On white

9.74
#681698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#681698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681698
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681698#FFFFFF#000000##FFFFFF
##6816981.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#603A5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681698;
/* rgb */ color: rgb(104, 22, 152);
/* oklch */ color: oklch(41.2% 0.192 308.1);
Tailwind
colors: {
  custom: {
    50: '#9960b7',
    500: '#681698',
    950: '#000000',
  },
}
SCSS
$custom: #681698;
$custom-light: #9960b7;
$custom-dark: #000000;
JSON
{
  "hex": "#681698",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 152
  },
  "hsl": {
    "h": 277.846,
    "s": 74.713,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.19194,
    "h": 308.1
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#681698
secondary
#74C545
accent
#F1367B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681698

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

Preview Lab → · Contrast checker → · Palette generator →

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