#681985#681985

#681985 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.172 H 314.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#681985
RGBrgb(104, 25, 133)
HSLhsl(284, 68%, 31%)
HSVhsv(284, 81%, 52%)
CMYKcmyk(21.8%, 81.2%, 0%, 47.8%)
CIE-LABlab(27.66, 50.11, -43.27)
CIE-LCHlch(27.66, 66.20, 319.19°)
OKLaboklab(39.89% 0.121 -0.1222)
OKLCHoklch(39.89% 0.172 314.7)
XYZxyz(10.2895, 5.3321, 22.6729)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681985 #368519
analogous
#321985 #681985 #85196C
triadic
#681985 #856819 #198568
tetradic
#681985 #853219 #368519 #196C85
square
#681985 #853219 #368519 #196C85
split-complementary
#681985 #6C8519 #198532
monochromatic
#17061E #400F51 #681985 #9023B9 #B13EDB

Accessibility & contrast

On white

10.16
#681985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#681985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681985
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681985#FFFFFF#000000##FFFFFF
##6819851.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#114383
Tritanopia (blue-blind)
#65334F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681985;
/* rgb */ color: rgb(104, 25, 133);
/* oklch */ color: oklch(39.9% 0.172 314.7);
Tailwind
colors: {
  custom: {
    50: '#9760a9',
    500: '#681985',
    950: '#000000',
  },
}
SCSS
$custom: #681985;
$custom-light: #9760a9;
$custom-dark: #000000;
JSON
{
  "hex": "#681985",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 283.889,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.17197,
    "h": 314.7
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#681985
secondary
#61B941
accent
#EB3D6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681985

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

Preview Lab → · Contrast checker → · Palette generator →

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