#681BA0#681BA0

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

Color values

HEX#681BA0
RGBrgb(104, 27, 160)
HSLhsl(275, 71%, 37%)
HSVhsv(275, 83%, 63%)
CMYKcmyk(35%, 83.1%, 0%, 37.3%)
CIE-LABlab(30.07, 55.31, -55.99)
CIE-LCHlch(30.07, 78.70, 314.65°)
OKLaboklab(42.26% 0.1126 -0.1596)
OKLCHoklch(42.26% 0.195 305.2)
XYZxyz(12.4446, 6.2651, 33.8046)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681BA0 #53A01B
analogous
#261BA0 #681BA0 #A01B96
triadic
#681BA0 #A0681B #1BA068
tetradic
#681BA0 #A0261B #53A01B #1B96A0
square
#681BA0 #A0261B #53A01B #1B96A0
split-complementary
#681BA0 #96A01B #1BA026
monochromatic
#240937 #46126C #681BA0 #8A24D4 #A653E2

Accessibility & contrast

On white

9.32
#681BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#681BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681BA0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681BA0#FFFFFF#000000##FFFFFF
##681BA01.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5D405F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681ba0;
/* rgb */ color: rgb(104, 27, 160);
/* oklch */ color: oklch(42.3% 0.195 305.2);
Tailwind
colors: {
  custom: {
    50: '#9963bd',
    500: '#681ba0',
    950: '#000000',
  },
}
SCSS
$custom: #681ba0;
$custom-light: #9963bd;
$custom-dark: #000000;
JSON
{
  "hex": "#681ba0",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 274.737,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.19533,
    "h": 305.2
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #681BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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