#681699#681699

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

Color values

HEX#681699
RGBrgb(104, 22, 153)
HSLhsl(278, 75%, 34%)
HSVhsv(278, 86%, 60%)
CMYKcmyk(32%, 85.6%, 0%, 40%)
CIE-LABlab(28.95, 55.31, -53.56)
CIE-LCHlch(28.95, 76.99, 315.92°)
OKLaboklab(41.29% 0.1181 -0.1524)
OKLCHoklch(41.29% 0.193 307.8)
XYZxyz(11.7444, 5.8170, 30.6349)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681699 #479916
analogous
#261699 #681699 #991689
triadic
#681699 #996816 #169968
tetradic
#681699 #992616 #479916 #168999
square
#681699 #992616 #479916 #168999
split-complementary
#681699 #899916 #169926
monochromatic
#1F072E #440E63 #681699 #8C1ECF #A945E4

Accessibility & contrast

On white

9.71
#681699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681699
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681699#FFFFFF#000000##FFFFFF
##6816991.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#603B5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681699;
/* rgb */ color: rgb(104, 22, 153);
/* oklch */ color: oklch(41.3% 0.193 307.8);
Tailwind
colors: {
  custom: {
    50: '#9960b8',
    500: '#681699',
    950: '#000000',
  },
}
SCSS
$custom: #681699;
$custom-light: #9960b8;
$custom-dark: #000000;
JSON
{
  "hex": "#681699",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 277.557,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.19286,
    "h": 307.8
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#681699
secondary
#75C546
accent
#F1367C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #681699

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

Preview Lab → · Contrast checker → · Palette generator →

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