#682488#682488

#682488 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.163 H 312.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#682488
RGBrgb(104, 36, 136)
HSLhsl(281, 58%, 34%)
HSVhsv(281, 74%, 53%)
CMYKcmyk(23.5%, 73.5%, 0%, 46.7%)
CIE-LABlab(29.37, 46.49, -42.38)
CIE-LCHlch(29.37, 62.91, 317.65°)
OKLaboklab(41.17% 0.1099 -0.1197)
OKLCHoklch(41.17% 0.163 312.6)
XYZxyz(10.7829, 5.9827, 23.8745)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682488 #448824
analogous
#362488 #682488 #882476
triadic
#682488 #886824 #248868
tetradic
#682488 #883624 #448824 #247688
square
#682488 #883624 #448824 #247688
split-complementary
#682488 #768824 #248836
monochromatic
#1E0A27 #431758 #682488 #8D31B8 #AA55D2

Accessibility & contrast

On white

9.56
#682488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#682488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682488
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682488#FFFFFF#000000##FFFFFF
##6824881.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#194786
Tritanopia (blue-blind)
#643A54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682488;
/* rgb */ color: rgb(104, 36, 136);
/* oklch */ color: oklch(41.2% 0.163 312.6);
Tailwind
colors: {
  custom: {
    50: '#9765ab',
    500: '#682488',
    950: '#000000',
  },
}
SCSS
$custom: #682488;
$custom-light: #9765ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682488",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 280.8,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.16252,
    "h": 312.6
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#682488
secondary
#72B652
accent
#E14678
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682488

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

Preview Lab → · Contrast checker → · Palette generator →

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