#681D95#681D95

#681D95 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 308.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#681D95
RGBrgb(104, 29, 149)
HSLhsl(278, 67%, 35%)
HSVhsv(278, 81%, 58%)
CMYKcmyk(30.2%, 80.5%, 0%, 41.6%)
CIE-LABlab(29.39, 52.16, -50.38)
CIE-LCHlch(29.39, 72.52, 315.99°)
OKLaboklab(41.5% 0.1141 -0.1432)
OKLCHoklch(41.5% 0.183 308.5)
XYZxyz(11.5720, 5.9919, 28.9749)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D95 #4A951D
analogous
#2C1D95 #681D95 #951D86
triadic
#681D95 #95681D #1D9568
tetradic
#681D95 #952C1D #4A951D #1D8695
square
#681D95 #952C1D #4A951D #1D8695
split-complementary
#681D95 #86951D #1D952C
monochromatic
#20092F #441362 #681D95 #8C27C8 #A850DD

Accessibility & contrast

On white

9.55
#681D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#681D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D95
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D95#FFFFFF#000000##FFFFFF
##681D951.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#613C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681d95;
/* rgb */ color: rgb(104, 29, 149);
/* oklch */ color: oklch(41.5% 0.183 308.5);
Tailwind
colors: {
  custom: {
    50: '#9863b5',
    500: '#681d95',
    950: '#000000',
  },
}
SCSS
$custom: #681d95;
$custom-light: #9863b5;
$custom-dark: #000000;
JSON
{
  "hex": "#681d95",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 277.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41498,
    "c": 0.18305,
    "h": 308.5
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#681D95
secondary
#79C04E
accent
#EA3D7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681D95

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

Preview Lab → · Contrast checker → · Palette generator →

#681D95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva