#681B9F#681B9F

#681B9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.194 H 305.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#681B9F
RGBrgb(104, 27, 159)
HSLhsl(275, 71%, 36%)
HSVhsv(275, 83%, 62%)
CMYKcmyk(34.6%, 83%, 0%, 37.6%)
CIE-LABlab(29.99, 55.08, -55.52)
CIE-LCHlch(29.99, 78.21, 314.77°)
OKLaboklab(42.17% 0.1129 -0.1583)
OKLCHoklch(42.17% 0.194 305.5)
XYZxyz(12.3574, 6.2302, 33.3457)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B9F #529F1B
analogous
#261B9F #681B9F #9F1B94
triadic
#681B9F #9F681B #1B9F68
tetradic
#681B9F #9F261B #529F1B #1B949F
square
#681B9F #9F261B #529F1B #1B949F
split-complementary
#681B9F #949F1B #1B9F26
monochromatic
#240936 #46126B #681B9F #8A24D3 #A653E2

Accessibility & contrast

On white

9.35
#681B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681B9F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B9F#FFFFFF#000000##FFFFFF
##681B9F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5E405F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681b9f;
/* rgb */ color: rgb(104, 27, 159);
/* oklch */ color: oklch(42.2% 0.194 305.5);
Tailwind
colors: {
  custom: {
    50: '#9963bc',
    500: '#681b9f',
    950: '#000000',
  },
}
SCSS
$custom: #681b9f;
$custom-light: #9963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#681b9f",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 275,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.19439,
    "h": 305.5
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#681B9F
secondary
#81C551
accent
#EE3A85
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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