#681EB4#681EB4

#681EB4 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.212 H 299.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#681EB4
RGBrgb(104, 30, 180)
HSLhsl(270, 71%, 41%)
HSVhsv(270, 83%, 71%)
CMYKcmyk(42.2%, 83.3%, 0%, 29.4%)
CIE-LABlab(32.18, 58.92, -64.56)
CIE-LCHlch(32.18, 87.40, 312.39°)
OKLaboklab(44.26% 0.1041 -0.1848)
OKLCHoklch(44.26% 0.212 299.4)
XYZxyz(14.4093, 7.1667, 43.7953)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681EB4 #6AB41E
analogous
#1E1FB4 #681EB4 #B31EB4
triadic
#681EB4 #B4681E #1EB468
tetradic
#681EB4 #B41E1F #6AB41E #1EB4B3
square
#681EB4 #B41E1F #6AB41E #1EB4B3
split-complementary
#681EB4 #B4B31E #1FB41E
monochromatic
#2B0D4B #4A1580 #681EB4 #8632DD #A567E6

Accessibility & contrast

On white

8.63
#681EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#681EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681EB4
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681EB4#FFFFFF#000000##FFFFFF
##681EB41.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#554A6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #681eb4;
/* rgb */ color: rgb(104, 30, 180);
/* oklch */ color: oklch(44.3% 0.212 299.4);
Tailwind
colors: {
  custom: {
    50: '#9b65cc',
    500: '#681eb4',
    950: '#000000',
  },
}
SCSS
$custom: #681eb4;
$custom-light: #9b65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#681eb4",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 269.6,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44261,
    "c": 0.21208,
    "h": 299.4
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#681EB4
secondary
#98CB63
accent
#EE3A95
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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