#681B8F#681B8F

#681B8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.179 H 310.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#681B8F
RGBrgb(104, 27, 143)
HSLhsl(280, 68%, 33%)
HSVhsv(280, 81%, 56%)
CMYKcmyk(27.3%, 81.1%, 0%, 43.9%)
CIE-LABlab(28.67, 51.55, -47.85)
CIE-LCHlch(28.67, 70.34, 317.13°)
OKLaboklab(40.84% 0.1172 -0.1357)
OKLCHoklch(40.84% 0.179 310.8)
XYZxyz(11.0578, 5.7104, 26.5010)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B8F #428F1B
analogous
#2E1B8F #681B8F #8F1B7C
triadic
#681B8F #8F681B #1B8F68
tetradic
#681B8F #8F2E1B #428F1B #1B7C8F
square
#681B8F #8F2E1B #428F1B #1B7C8F
split-complementary
#681B8F #7C8F1B #1B8F2E
monochromatic
#1D0828 #43115C #681B8F #8D25C2 #AB48DC

Accessibility & contrast

On white

9.80
#681B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#681B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B8F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B8F#FFFFFF#000000##FFFFFF
##681B8F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#633855
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681b8f;
/* rgb */ color: rgb(104, 27, 143);
/* oklch */ color: oklch(40.8% 0.179 310.8);
Tailwind
colors: {
  custom: {
    50: '#9862b1',
    500: '#681b8f',
    950: '#000000',
  },
}
SCSS
$custom: #681b8f;
$custom-light: #9862b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681b8f",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 279.828,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40842,
    "c": 0.17929,
    "h": 310.8
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#681B8F
secondary
#6FBE48
accent
#EB3D77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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