#681B93#681B93

#681B93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.183 H 309.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#681B93
RGBrgb(104, 27, 147)
HSLhsl(279, 69%, 34%)
HSVhsv(279, 82%, 58%)
CMYKcmyk(29.3%, 81.6%, 0%, 42.4%)
CIE-LABlab(28.99, 52.42, -49.81)
CIE-LCHlch(28.99, 72.31, 316.46°)
OKLaboklab(41.17% 0.1162 -0.1414)
OKLCHoklch(41.17% 0.183 309.4)
XYZxyz(11.3662, 5.8337, 28.1254)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B93 #46931B
analogous
#2C1B93 #681B93 #931B82
triadic
#681B93 #93681B #1B9368
tetradic
#681B93 #932C1B #46931B #1B8293
square
#681B93 #932C1B #46931B #1B8293
split-complementary
#681B93 #82931B #1B932C
monochromatic
#1F082C #43125F #681B93 #8D24C7 #A94BDE

Accessibility & contrast

On white

9.69
#681B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#681B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##681B93#FFFFFF#000000##FFFFFF
##681B931.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)
#004196
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#613A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681b93;
/* rgb */ color: rgb(104, 27, 147);
/* oklch */ color: oklch(41.2% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#9862b4',
    500: '#681b93',
    950: '#000000',
  },
}
SCSS
$custom: #681b93;
$custom-light: #9862b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681b93",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 278.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.18305,
    "h": 309.4
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#681B93
secondary
#74C04A
accent
#EC3C7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681B93

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

Preview Lab → · Contrast checker → · Palette generator →

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