#682870#682870

#682870 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.133 H 323.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#682870
RGBrgb(104, 40, 112)
HSLhsl(293, 47%, 30%)
HSVhsv(293, 64%, 44%)
CMYKcmyk(7.1%, 64.3%, 0%, 56.1%)
CIE-LABlab(28.46, 39.51, -28.70)
CIE-LCHlch(28.46, 48.84, 324.01°)
OKLaboklab(40.02% 0.1062 -0.0797)
OKLCHoklch(40.02% 0.133 323.1)
XYZxyz(9.3921, 5.6310, 15.9183)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682870 #307028
analogous
#442870 #682870 #702854
triadic
#682870 #706828 #287068
tetradic
#682870 #704428 #307028 #285470
square
#682870 #704428 #307028 #285470
split-complementary
#682870 #547028 #287044
monochromatic
#150817 #3E1843 #682870 #92389D #B551C1

Accessibility & contrast

On white

9.88
#682870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#682870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682870
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682870#FFFFFF#000000##FFFFFF
##6828701.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E72
Deuteranopia (green-blind)
#32466E
Tritanopia (blue-blind)
#6A3348
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682870;
/* rgb */ color: rgb(104, 40, 112);
/* oklch */ color: oklch(40.0% 0.133 323.1);
Tailwind
colors: {
  custom: {
    50: '#956799',
    500: '#682870',
    950: '#000000',
  },
}
SCSS
$custom: #682870;
$custom-light: #956799;
$custom-dark: #000000;
JSON
{
  "hex": "#682870",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 293.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.13278,
    "h": 323.1
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#682870
secondary
#5AA251
accent
#D75160
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682870

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

Preview Lab → · Contrast checker → · Palette generator →

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