#681F81#681F81

#681F81 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.162 H 315.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#681F81
RGBrgb(104, 31, 129)
HSLhsl(285, 61%, 31%)
HSVhsv(285, 76%, 51%)
CMYKcmyk(19.4%, 76%, 0%, 49.4%)
CIE-LABlab(28.14, 47.06, -39.99)
CIE-LCHlch(28.14, 61.75, 319.64°)
OKLaboklab(40.14% 0.1161 -0.1126)
OKLCHoklch(40.14% 0.162 315.9)
XYZxyz(10.1607, 5.5084, 21.2926)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F81 #38811F
analogous
#371F81 #681F81 #811F69
triadic
#681F81 #81681F #1F8168
tetradic
#681F81 #81371F #38811F #1F6981
square
#681F81 #81371F #38811F #1F6981
split-complementary
#681F81 #69811F #1F8137
monochromatic
#18071E #401350 #681F81 #902BB2 #AF47D3

Accessibility & contrast

On white

9.99
#681F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#681F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F81
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F81#FFFFFF#000000##FFFFFF
##681F811.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#1D447F
Tritanopia (blue-blind)
#66344E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681f81;
/* rgb */ color: rgb(104, 31, 129);
/* oklch */ color: oklch(40.1% 0.162 315.9);
Tailwind
colors: {
  custom: {
    50: '#9763a6',
    500: '#681f81',
    950: '#000000',
  },
}
SCSS
$custom: #681f81;
$custom-light: #9763a6;
$custom-dark: #000000;
JSON
{
  "hex": "#681f81",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 284.694,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40135,
    "c": 0.16173,
    "h": 315.9
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#681F81
secondary
#63B448
accent
#E4436C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #681F81

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

Preview Lab → · Contrast checker → · Palette generator →

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