#681EB3#681EB3

#681EB3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.2% C 0.211 H 299.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#681EB3
RGBrgb(104, 30, 179)
HSLhsl(270, 71%, 41%)
HSVhsv(270, 83%, 70%)
CMYKcmyk(41.9%, 83.2%, 0%, 29.8%)
CIE-LABlab(32.09, 58.69, -64.11)
CIE-LCHlch(32.09, 86.92, 312.47°)
OKLaboklab(44.17% 0.1044 -0.1835)
OKLCHoklch(44.17% 0.211 299.6)
XYZxyz(14.3078, 7.1261, 43.2607)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681EB3 #69B31E
analogous
#1E1EB3 #681EB3 #B21EB3
triadic
#681EB3 #B3681E #1EB368
tetradic
#681EB3 #B31E1E #69B31E #1EB3B2
square
#681EB3 #B31E1E #69B31E #1EB3B2
split-complementary
#681EB3 #B3B21E #1EB31E
monochromatic
#2B0C4A #4A157F #681EB3 #8732DD #A566E5

Accessibility & contrast

On white

8.66
#681EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681EB3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681EB3#FFFFFF#000000##FFFFFF
##681EB31.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#564A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #681eb3;
/* rgb */ color: rgb(104, 30, 179);
/* oklch */ color: oklch(44.2% 0.211 299.6);
Tailwind
colors: {
  custom: {
    50: '#9b65cb',
    500: '#681eb3',
    950: '#000000',
  },
}
SCSS
$custom: #681eb3;
$custom-light: #9b65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#681eb3",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 269.799,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.21111,
    "h": 299.6
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#681EB3
secondary
#97CB62
accent
#EE3A95
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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