#681B8E#681B8E

#681B8E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.178 H 311.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#681B8E
RGBrgb(104, 27, 142)
HSLhsl(280, 68%, 33%)
HSVhsv(280, 81%, 56%)
CMYKcmyk(26.8%, 81%, 0%, 44.3%)
CIE-LABlab(28.59, 51.33, -47.36)
CIE-LCHlch(28.59, 69.84, 317.30°)
OKLaboklab(40.76% 0.1174 -0.1343)
OKLCHoklch(40.76% 0.178 311.2)
XYZxyz(10.9824, 5.6802, 26.1038)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B8E #418E1B
analogous
#2E1B8E #681B8E #8E1B7A
triadic
#681B8E #8E681B #1B8E68
tetradic
#681B8E #8E2E1B #418E1B #1B7A8E
square
#681B8E #8E2E1B #418E1B #1B7A8E
split-complementary
#681B8E #7A8E1B #1B8E2E
monochromatic
#1D0727 #42115B #681B8E #8E25C1 #AB47DC

Accessibility & contrast

On white

9.83
#681B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681B8E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B8E#FFFFFF#000000##FFFFFF
##681B8E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#633855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681b8e;
/* rgb */ color: rgb(104, 27, 142);
/* oklch */ color: oklch(40.8% 0.178 311.2);
Tailwind
colors: {
  custom: {
    50: '#9862b0',
    500: '#681b8e',
    950: '#000000',
  },
}
SCSS
$custom: #681b8e;
$custom-light: #9862b0;
$custom-dark: #000000;
JSON
{
  "hex": "#681b8e",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 280.174,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.17836,
    "h": 311.2
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#681B8E
secondary
#6EBE47
accent
#EB3D76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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