#682770#682770

#682770 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 39.9% C 0.134 H 323.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#682770
RGBrgb(104, 39, 112)
HSLhsl(293, 48%, 30%)
HSVhsv(293, 65%, 44%)
CMYKcmyk(7.1%, 65.2%, 0%, 56.1%)
CIE-LABlab(28.29, 40.00, -28.98)
CIE-LCHlch(28.29, 49.39, 324.07°)
OKLaboklab(39.89% 0.1075 -0.0805)
OKLCHoklch(39.89% 0.134 323.2)
XYZxyz(9.3588, 5.5645, 15.9072)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682770 #2F7027
analogous
#442770 #682770 #702753
triadic
#682770 #706827 #277068
tetradic
#682770 #704427 #2F7027 #275370
square
#682770 #704427 #2F7027 #275370
split-complementary
#682770 #537027 #277044
monochromatic
#150817 #3E1743 #682770 #92379D #B550C2

Accessibility & contrast

On white

9.94
#682770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#682770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682770
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682770#FFFFFF#000000##FFFFFF
##6827701.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E72
Deuteranopia (green-blind)
#32456E
Tritanopia (blue-blind)
#6A3248
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682770;
/* rgb */ color: rgb(104, 39, 112);
/* oklch */ color: oklch(39.9% 0.134 323.2);
Tailwind
colors: {
  custom: {
    50: '#956699',
    500: '#682770',
    950: '#000000',
  },
}
SCSS
$custom: #682770;
$custom-light: #956699;
$custom-dark: #000000;
JSON
{
  "hex": "#682770",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 293.425,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.13432,
    "h": 323.2
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#682770
secondary
#59A250
accent
#D8505F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682770

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

Preview Lab → · Contrast checker → · Palette generator →

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