#681984#681984

#681984 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.171 H 315.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#681984
RGBrgb(104, 25, 132)
HSLhsl(284, 68%, 31%)
HSVhsv(284, 81%, 52%)
CMYKcmyk(21.2%, 81.1%, 0%, 48.2%)
CIE-LABlab(27.59, 49.90, -42.76)
CIE-LCHlch(27.59, 65.71, 319.40°)
OKLaboklab(39.82% 0.1212 -0.1207)
OKLCHoklch(39.82% 0.171 315.1)
XYZxyz(10.2207, 5.3046, 22.3108)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681984 #358419
analogous
#321984 #681984 #84196A
triadic
#681984 #846819 #198468
tetradic
#681984 #843219 #358419 #196A84
square
#681984 #843219 #358419 #196A84
split-complementary
#681984 #6A8419 #198432
monochromatic
#17061D #3F0F51 #681984 #9123B7 #B13DDA

Accessibility & contrast

On white

10.19
#681984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681984
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681984#FFFFFF#000000##FFFFFF
##6819841.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#134382
Tritanopia (blue-blind)
#66324F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681984;
/* rgb */ color: rgb(104, 25, 132);
/* oklch */ color: oklch(39.8% 0.171 315.1);
Tailwind
colors: {
  custom: {
    50: '#9760a8',
    500: '#681984',
    950: '#000000',
  },
}
SCSS
$custom: #681984;
$custom-light: #9760a8;
$custom-dark: #000000;
JSON
{
  "hex": "#681984",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 284.299,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39815,
    "c": 0.17105,
    "h": 315.1
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#681984
secondary
#60B841
accent
#EB3D6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681984

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

Preview Lab → · Contrast checker → · Palette generator →

#681984 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva