#682D79#682D79

#682D79 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.2% C 0.134 H 318.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#682D79
RGBrgb(104, 45, 121)
HSLhsl(287, 46%, 33%)
HSVhsv(287, 63%, 47%)
CMYKcmyk(14%, 62.8%, 0%, 52.5%)
CIE-LABlab(29.91, 38.91, -32.11)
CIE-LCHlch(29.91, 50.45, 320.47°)
OKLaboklab(41.24% 0.0998 -0.0897)
OKLCHoklch(41.24% 0.134 318.1)
XYZxyz(10.0980, 6.2007, 18.7504)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D79 #3E792D
analogous
#422D79 #682D79 #792D64
triadic
#682D79 #79682D #2D7968
tetradic
#682D79 #79422D #3E792D #2D6479
square
#682D79 #79422D #3E792D #2D6479
split-complementary
#682D79 #64792D #2D7942
monochromatic
#1B0C20 #421C4C #682D79 #8E3EA6 #AC5DC3

Accessibility & contrast

On white

9.38
#682D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D79
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D79#FFFFFF#000000##FFFFFF
##682D791.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#304877
Tritanopia (blue-blind)
#683A4E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682d79;
/* rgb */ color: rgb(104, 45, 121);
/* oklch */ color: oklch(41.2% 0.134 318.1);
Tailwind
colors: {
  custom: {
    50: '#956aa0',
    500: '#682d79',
    950: '#000000',
  },
}
SCSS
$custom: #682d79;
$custom-light: #956aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#682d79",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 286.579,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.13417,
    "h": 318.1
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#682D79
secondary
#6BA958
accent
#D55270
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #682D79

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

Preview Lab → · Contrast checker → · Palette generator →

#682D79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva