#682087#682087

#682087 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.166 H 313.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#682087
RGBrgb(104, 32, 135)
HSLhsl(282, 62%, 33%)
HSVhsv(282, 76%, 53%)
CMYKcmyk(23%, 76.3%, 0%, 47.1%)
CIE-LABlab(28.71, 47.94, -42.82)
CIE-LCHlch(28.71, 64.28, 318.23°)
OKLaboklab(40.68% 0.1142 -0.121)
OKLCHoklch(40.68% 0.166 313.3)
XYZxyz(10.5978, 5.7257, 23.4639)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682087 #3F8720
analogous
#352087 #682087 #872072
triadic
#682087 #876820 #208768
tetradic
#682087 #873520 #3F8720 #207287
square
#682087 #873520 #3F8720 #207287
split-complementary
#682087 #728720 #208735
monochromatic
#1C0924 #421456 #682087 #8E2CB8 #AC4DD5

Accessibility & contrast

On white

9.79
#682087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#682087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682087
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682087#FFFFFF#000000##FFFFFF
##6820871.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#653752
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682087;
/* rgb */ color: rgb(104, 32, 135);
/* oklch */ color: oklch(40.7% 0.166 313.3);
Tailwind
colors: {
  custom: {
    50: '#9763ab',
    500: '#682087',
    950: '#000000',
  },
}
SCSS
$custom: #682087;
$custom-light: #9763ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682087",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 281.942,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40679,
    "c": 0.16635,
    "h": 313.3
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#682087
secondary
#6CB84B
accent
#E54374
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682087

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

Preview Lab → · Contrast checker → · Palette generator →

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