#681B90#681B90

#681B90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.180 H 310.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#681B90
RGBrgb(104, 27, 144)
HSLhsl(279, 68%, 34%)
HSVhsv(279, 81%, 56%)
CMYKcmyk(27.8%, 81.3%, 0%, 43.5%)
CIE-LABlab(28.75, 51.76, -48.34)
CIE-LCHlch(28.75, 70.83, 316.96°)
OKLaboklab(40.92% 0.1169 -0.1372)
OKLCHoklch(40.92% 0.18 310.4)
XYZxyz(11.1339, 5.7408, 26.9017)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B90 #43901B
analogous
#2D1B90 #681B90 #901B7D
triadic
#681B90 #90681B #1B9068
tetradic
#681B90 #902D1B #43901B #1B7D90
square
#681B90 #902D1B #43901B #1B7D90
split-complementary
#681B90 #7D901B #1B902D
monochromatic
#1E0829 #43115C #681B90 #8D25C4 #AA49DD

Accessibility & contrast

On white

9.78
#681B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#681B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B90
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B90#FFFFFF#000000##FFFFFF
##681B901.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#623956
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681b90;
/* rgb */ color: rgb(104, 27, 144);
/* oklch */ color: oklch(40.9% 0.180 310.4);
Tailwind
colors: {
  custom: {
    50: '#9862b1',
    500: '#681b90',
    950: '#000000',
  },
}
SCSS
$custom: #681b90;
$custom-light: #9862b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681b90",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 279.487,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40923,
    "c": 0.18023,
    "h": 310.4
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#681B90
secondary
#71BF48
accent
#EB3D78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681B90

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

Preview Lab → · Contrast checker → · Palette generator →

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