#682888#682888

#682888 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.157 H 312.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#682888
RGBrgb(104, 40, 136)
HSLhsl(280, 55%, 35%)
HSVhsv(280, 71%, 53%)
CMYKcmyk(23.5%, 70.6%, 0%, 46.7%)
CIE-LABlab(30.01, 44.70, -41.35)
CIE-LCHlch(30.01, 60.89, 317.23°)
OKLaboklab(41.62% 0.1055 -0.1167)
OKLCHoklch(41.62% 0.157 312.1)
XYZxyz(10.9108, 6.2385, 23.9172)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682888 #488828
analogous
#382888 #682888 #882878
triadic
#682888 #886828 #288868
tetradic
#682888 #883828 #488828 #287888
square
#682888 #883828 #488828 #287888
split-complementary
#682888 #788828 #288838
monochromatic
#200C29 #441A59 #682888 #8C36B7 #A85BCF

Accessibility & contrast

On white

9.34
#682888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682888
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682888#FFFFFF#000000##FFFFFF
##6828881.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#1E4886
Tritanopia (blue-blind)
#643C55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682888;
/* rgb */ color: rgb(104, 40, 136);
/* oklch */ color: oklch(41.6% 0.157 312.1);
Tailwind
colors: {
  custom: {
    50: '#9767ab',
    500: '#682888',
    950: '#000000',
  },
}
SCSS
$custom: #682888;
$custom-light: #9767ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682888",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 280,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.15733,
    "h": 312.1
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#682888
secondary
#76B458
accent
#DE4A7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682888

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

Preview Lab → · Contrast checker → · Palette generator →

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