#681983#681983

#681983 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.170 H 315.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#681983
RGBrgb(104, 25, 131)
HSLhsl(285, 68%, 31%)
HSVhsv(285, 81%, 51%)
CMYKcmyk(20.6%, 80.9%, 0%, 48.6%)
CIE-LABlab(27.51, 49.69, -42.26)
CIE-LCHlch(27.51, 65.23, 319.62°)
OKLaboklab(39.74% 0.1213 -0.1193)
OKLCHoklch(39.74% 0.17 315.5)
XYZxyz(10.1526, 5.2774, 21.9522)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681983 #348319
analogous
#331983 #681983 #831969
triadic
#681983 #836819 #198368
tetradic
#681983 #833319 #348319 #196983
square
#681983 #833319 #348319 #196983
split-complementary
#681983 #698319 #198333
monochromatic
#16051C #3F0F50 #681983 #9123B6 #B23DDA

Accessibility & contrast

On white

10.22
#681983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681983
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681983#FFFFFF#000000##FFFFFF
##6819831.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#66324E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681983;
/* rgb */ color: rgb(104, 25, 131);
/* oklch */ color: oklch(39.7% 0.170 315.5);
Tailwind
colors: {
  custom: {
    50: '#9760a8',
    500: '#681983',
    950: '#000000',
  },
}
SCSS
$custom: #681983;
$custom-light: #9760a8;
$custom-dark: #000000;
JSON
{
  "hex": "#681983",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 284.717,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39739,
    "c": 0.17014,
    "h": 315.5
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#681983
secondary
#5FB741
accent
#EB3D69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681983

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

Preview Lab → · Contrast checker → · Palette generator →

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