#681888#681888

#681888 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.176 H 313.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#681888
RGBrgb(104, 24, 136)
HSLhsl(283, 70%, 31%)
HSVhsv(283, 82%, 53%)
CMYKcmyk(23.5%, 82.4%, 0%, 46.7%)
CIE-LABlab(27.78, 51.06, -44.96)
CIE-LCHlch(27.78, 68.03, 318.64°)
OKLaboklab(40.04% 0.1212 -0.1272)
OKLCHoklch(40.04% 0.176 313.6)
XYZxyz(10.4787, 5.3742, 23.7731)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681888 #388818
analogous
#301888 #681888 #881870
triadic
#681888 #886818 #188868
tetradic
#681888 #883018 #388818 #187088
square
#681888 #883018 #388818 #187088
split-complementary
#681888 #708818 #188830
monochromatic
#180620 #400F54 #681888 #9021BC #AF3EDD

Accessibility & contrast

On white

10.12
#681888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681888
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681888#FFFFFF#000000##FFFFFF
##6818881.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#094386
Tritanopia (blue-blind)
#653451
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681888;
/* rgb */ color: rgb(104, 24, 136);
/* oklch */ color: oklch(40.0% 0.176 313.6);
Tailwind
colors: {
  custom: {
    50: '#9760ab',
    500: '#681888',
    950: '#000000',
  },
}
SCSS
$custom: #681888;
$custom-light: #9760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681888",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 282.857,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.17566,
    "h": 313.6
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#681888
secondary
#63BC40
accent
#ED3B6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681888

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

Preview Lab → · Contrast checker → · Palette generator →

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