#681BA8#681BA8

#681BA8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.0% C 0.203 H 302.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#681BA8
RGBrgb(104, 27, 168)
HSLhsl(273, 72%, 38%)
HSVhsv(273, 84%, 66%)
CMYKcmyk(38.1%, 83.9%, 0%, 34.1%)
CIE-LABlab(30.77, 57.12, -59.69)
CIE-LCHlch(30.77, 82.62, 313.74°)
OKLaboklab(42.95% 0.11 -0.1705)
OKLCHoklch(42.95% 0.203 302.8)
XYZxyz(13.1670, 6.5541, 37.6096)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681BA8 #5BA81B
analogous
#211BA8 #681BA8 #A81BA1
triadic
#681BA8 #A8681B #1BA868
tetradic
#681BA8 #A8211B #5BA81B #1BA1A8
square
#681BA8 #A8211B #5BA81B #1BA1A8
split-complementary
#681BA8 #A1A81B #1BA821
monochromatic
#270A3F #471373 #681BA8 #8924DC #A559E4

Accessibility & contrast

On white

9.09
#681BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#681BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681BA8
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681BA8#FFFFFF#000000##FFFFFF
##681BA81.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#5A4464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #681ba8;
/* rgb */ color: rgb(104, 27, 168);
/* oklch */ color: oklch(43.0% 0.203 302.8);
Tailwind
colors: {
  custom: {
    50: '#9a63c3',
    500: '#681ba8',
    950: '#000000',
  },
}
SCSS
$custom: #681ba8;
$custom-light: #9a63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#681ba8",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 272.766,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42954,
    "c": 0.20292,
    "h": 302.8
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#681BA8
secondary
#8AC857
accent
#EF398B
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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