#681F94#681F94

#681F94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.180 H 308.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#681F94
RGBrgb(104, 31, 148)
HSLhsl(277, 65%, 35%)
HSVhsv(277, 79%, 58%)
CMYKcmyk(29.7%, 79.1%, 0%, 42%)
CIE-LABlab(29.57, 51.20, -49.48)
CIE-LCHlch(29.57, 71.20, 315.98°)
OKLaboklab(41.6% 0.1126 -0.1405)
OKLCHoklch(41.6% 0.18 308.7)
XYZxyz(11.5431, 6.0614, 28.5731)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F94 #4B941F
analogous
#2E1F94 #681F94 #941F85
triadic
#681F94 #94681F #1F9468
tetradic
#681F94 #942E1F #4B941F #1F8594
square
#681F94 #942E1F #4B941F #1F8594
split-complementary
#681F94 #85941F #1F942E
monochromatic
#210A2F #441461 #681F94 #8C2AC7 #A853DB

Accessibility & contrast

On white

9.49
#681F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F94
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F94#FFFFFF#000000##FFFFFF
##681F941.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#613C59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681f94;
/* rgb */ color: rgb(104, 31, 148);
/* oklch */ color: oklch(41.6% 0.180 308.7);
Tailwind
colors: {
  custom: {
    50: '#9864b4',
    500: '#681f94',
    950: '#000000',
  },
}
SCSS
$custom: #681f94;
$custom-light: #9864b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681f94",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 277.436,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.18008,
    "h": 308.7
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#681F94
secondary
#7ABE51
accent
#E83F7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F94

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

Preview Lab → · Contrast checker → · Palette generator →

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