#681BA1#681BA1

#681BA1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.196 H 304.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#681BA1
RGBrgb(104, 27, 161)
HSLhsl(274, 71%, 37%)
HSVhsv(274, 83%, 63%)
CMYKcmyk(35.4%, 83.2%, 0%, 36.9%)
CIE-LABlab(30.16, 55.53, -56.46)
CIE-LCHlch(30.16, 79.19, 314.53°)
OKLaboklab(42.34% 0.1123 -0.161)
OKLCHoklch(42.34% 0.196 304.9)
XYZxyz(12.5324, 6.3002, 34.2671)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681BA1 #54A11B
analogous
#251BA1 #681BA1 #A11B97
triadic
#681BA1 #A1681B #1BA168
tetradic
#681BA1 #A1251B #54A11B #1B97A1
square
#681BA1 #A1251B #54A11B #1B97A1
split-complementary
#681BA1 #97A11B #1BA125
monochromatic
#240938 #46126D #681BA1 #8A24D5 #A654E2

Accessibility & contrast

On white

9.29
#681BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#681BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681BA1
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681BA1#FFFFFF#000000##FFFFFF
##681BA11.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5D4060
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681ba1;
/* rgb */ color: rgb(104, 27, 161);
/* oklch */ color: oklch(42.3% 0.196 304.9);
Tailwind
colors: {
  custom: {
    50: '#9963be',
    500: '#681ba1',
    950: '#000000',
  },
}
SCSS
$custom: #681ba1;
$custom-light: #9963be;
$custom-dark: #000000;
JSON
{
  "hex": "#681ba1",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 274.478,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.19627,
    "h": 304.9
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#681BA1
secondary
#83C552
accent
#EE3A86
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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