#681CA0#681CA0

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

Color values

HEX#681CA0
RGBrgb(104, 28, 160)
HSLhsl(275, 70%, 37%)
HSVhsv(275, 83%, 63%)
CMYKcmyk(35%, 82.5%, 0%, 37.3%)
CIE-LABlab(30.19, 54.98, -55.81)
CIE-LCHlch(30.19, 78.34, 314.57°)
OKLaboklab(42.34% 0.1119 -0.1591)
OKLCHoklch(42.34% 0.194 305.1)
XYZxyz(12.4679, 6.3117, 33.8123)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681CA0 #54A01C
analogous
#261CA0 #681CA0 #A01C96
triadic
#681CA0 #A0681C #1CA068
tetradic
#681CA0 #A0261C #54A01C #1C96A0
square
#681CA0 #A0261C #54A01C #1C96A0
split-complementary
#681CA0 #96A01C #1CA026
monochromatic
#240A38 #46136C #681CA0 #8A25D4 #A655E1

Accessibility & contrast

On white

9.28
#681CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681CA0
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681CA0#FFFFFF#000000##FFFFFF
##681CA01.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681ca0;
/* rgb */ color: rgb(104, 28, 160);
/* oklch */ color: oklch(42.3% 0.194 305.1);
Tailwind
colors: {
  custom: {
    50: '#9963bd',
    500: '#681ca0',
    950: '#000000',
  },
}
SCSS
$custom: #681ca0;
$custom-light: #9963bd;
$custom-dark: #000000;
JSON
{
  "hex": "#681ca0",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 274.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.19447,
    "h": 305.1
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#681CA0
secondary
#83C453
accent
#ED3B86
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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