#681F93#681F93

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

Color values

HEX#681F93
RGBrgb(104, 31, 147)
HSLhsl(278, 65%, 35%)
HSVhsv(278, 79%, 58%)
CMYKcmyk(29.3%, 78.9%, 0%, 42.4%)
CIE-LABlab(29.49, 50.98, -49.00)
CIE-LCHlch(29.49, 70.70, 316.14°)
OKLaboklab(41.52% 0.1128 -0.1391)
OKLCHoklch(41.52% 0.179 309)
XYZxyz(11.4643, 6.0298, 28.1580)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F93 #4A931F
analogous
#2E1F93 #681F93 #931F84
triadic
#681F93 #93681F #1F9368
tetradic
#681F93 #932E1F #4A931F #1F8493
square
#681F93 #932E1F #4A931F #1F8493
split-complementary
#681F93 #84931F #1F932E
monochromatic
#200A2E #441460 #681F93 #8C2AC6 #A852DA

Accessibility & contrast

On white

9.52
#681F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#681F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F93
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F93#FFFFFF#000000##FFFFFF
##681F931.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681f93;
/* rgb */ color: rgb(104, 31, 147);
/* oklch */ color: oklch(41.5% 0.179 309.0);
Tailwind
colors: {
  custom: {
    50: '#9864b3',
    500: '#681f93',
    950: '#000000',
  },
}
SCSS
$custom: #681f93;
$custom-light: #9864b3;
$custom-dark: #000000;
JSON
{
  "hex": "#681f93",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 277.759,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.17911,
    "h": 309
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#681F93
secondary
#79BE50
accent
#E8407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F93

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

Preview Lab → · Contrast checker → · Palette generator →

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