#681BB4#681BB4

#681BB4 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.0% C 0.214 H 299.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#681BB4
RGBrgb(104, 27, 180)
HSLhsl(270, 74%, 41%)
HSVhsv(270, 85%, 71%)
CMYKcmyk(42.2%, 85%, 0%, 29.4%)
CIE-LABlab(31.86, 59.88, -65.09)
CIE-LCHlch(31.86, 88.45, 312.61°)
OKLaboklab(44.04% 0.1059 -0.1863)
OKLCHoklch(44.04% 0.214 299.6)
XYZxyz(14.3370, 7.0220, 43.7712)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681BB4 #67B41B
analogous
#1B1BB4 #681BB4 #B41BB3
triadic
#681BB4 #B4681B #1BB468
tetradic
#681BB4 #B41B1B #67B41B #1BB3B4
square
#681BB4 #B41B1B #67B41B #1BB3B4
split-complementary
#681BB4 #B3B41B #1BB41B
monochromatic
#2B0B4A #49137F #681BB4 #872DDF #A562E7

Accessibility & contrast

On white

8.73
#681BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#681BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681BB4
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681BB4#FFFFFF#000000##FFFFFF
##681BB41.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#55496B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #681bb4;
/* rgb */ color: rgb(104, 27, 180);
/* oklch */ color: oklch(44.0% 0.214 299.6);
Tailwind
colors: {
  custom: {
    50: '#9b64cc',
    500: '#681bb4',
    950: '#000000',
  },
}
SCSS
$custom: #681bb4;
$custom-light: #9b64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#681bb4",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 270.196,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44036,
    "c": 0.21434,
    "h": 299.6
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#681BB4
secondary
#95CC5F
accent
#F13793
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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