#681B95#681B95

#681B95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.185 H 308.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#681B95
RGBrgb(104, 27, 149)
HSLhsl(278, 69%, 35%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(30.2%, 81.9%, 0%, 41.6%)
CIE-LABlab(29.15, 52.86, -50.77)
CIE-LCHlch(29.15, 73.29, 316.15°)
OKLaboklab(41.33% 0.1157 -0.1443)
OKLCHoklch(41.33% 0.185 308.7)
XYZxyz(11.5245, 5.8971, 28.9591)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B95 #48951B
analogous
#2B1B95 #681B95 #951B85
triadic
#681B95 #95681B #1B9568
tetradic
#681B95 #952B1B #48951B #1B8595
square
#681B95 #952B1B #48951B #1B8595
split-complementary
#681B95 #85951B #1B952B
monochromatic
#20082D #441261 #681B95 #8C24C9 #A84CDF

Accessibility & contrast

On white

9.64
#681B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#681B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B95
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B95#FFFFFF#000000##FFFFFF
##681B951.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b95;
/* rgb */ color: rgb(104, 27, 149);
/* oklch */ color: oklch(41.3% 0.185 308.7);
Tailwind
colors: {
  custom: {
    50: '#9862b5',
    500: '#681b95',
    950: '#000000',
  },
}
SCSS
$custom: #681b95;
$custom-light: #9862b5;
$custom-dark: #000000;
JSON
{
  "hex": "#681b95",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 277.869,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.18493,
    "h": 308.7
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#681B95
secondary
#76C14B
accent
#EC3C7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681B95

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

Preview Lab → · Contrast checker → · Palette generator →

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