#681F91#681F91

#681F91 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.177 H 309.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#681F91
RGBrgb(104, 31, 145)
HSLhsl(278, 65%, 35%)
HSVhsv(278, 79%, 57%)
CMYKcmyk(28.3%, 78.6%, 0%, 43.1%)
CIE-LABlab(29.33, 50.53, -48.02)
CIE-LCHlch(29.33, 69.71, 316.46°)
OKLaboklab(41.36% 0.1133 -0.1362)
OKLCHoklch(41.36% 0.177 309.7)
XYZxyz(11.3087, 5.9676, 27.3387)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F91 #48911F
analogous
#2F1F91 #681F91 #911F81
triadic
#681F91 #91681F #1F9168
tetradic
#681F91 #912F1F #48911F #1F8191
square
#681F91 #912F1F #48911F #1F8191
split-complementary
#681F91 #81911F #1F912F
monochromatic
#20092C #44145F #681F91 #8C2AC3 #A851DA

Accessibility & contrast

On white

9.57
#681F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#681F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F91
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F91#FFFFFF#000000##FFFFFF
##681F911.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#623B57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681f91;
/* rgb */ color: rgb(104, 31, 145);
/* oklch */ color: oklch(41.4% 0.177 309.7);
Tailwind
colors: {
  custom: {
    50: '#9863b2',
    500: '#681f91',
    950: '#000000',
  },
}
SCSS
$custom: #681f91;
$custom-light: #9863b2;
$custom-dark: #000000;
JSON
{
  "hex": "#681f91",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 278.421,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.17717,
    "h": 309.7
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#681F91
secondary
#76BD4F
accent
#E8407C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F91

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

Preview Lab → · Contrast checker → · Palette generator →

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