#682C81#682C81

#682C81 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.144 H 314.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#682C81
RGBrgb(104, 44, 129)
HSLhsl(282, 49%, 34%)
HSVhsv(282, 66%, 51%)
CMYKcmyk(19.4%, 65.9%, 0%, 49.4%)
CIE-LABlab(30.23, 41.19, -36.63)
CIE-LCHlch(30.23, 55.12, 318.35°)
OKLaboklab(41.63% 0.1011 -0.1029)
OKLCHoklch(41.63% 0.144 314.5)
XYZxyz(10.5714, 6.3297, 21.4295)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C81 #45812C
analogous
#3E2C81 #682C81 #812C70
triadic
#682C81 #81682C #2C8168
tetradic
#682C81 #813E2C #45812C #2C7081
square
#682C81 #813E2C #45812C #2C7081
split-complementary
#682C81 #70812C #2C813E
monochromatic
#1E0D26 #431C53 #682C81 #8D3CAF #A95FC8

Accessibility & contrast

On white

9.27
#682C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C81
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C81#FFFFFF#000000##FFFFFF
##682C811.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094484
Deuteranopia (green-blind)
#29497F
Tritanopia (blue-blind)
#663C52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682c81;
/* rgb */ color: rgb(104, 44, 129);
/* oklch */ color: oklch(41.6% 0.144 314.5);
Tailwind
colors: {
  custom: {
    50: '#9669a6',
    500: '#682c81',
    950: '#000000',
  },
}
SCSS
$custom: #682c81;
$custom-light: #9669a6;
$custom-dark: #000000;
JSON
{
  "hex": "#682c81",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 282.353,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.14426,
    "h": 314.5
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#682C81
secondary
#73AF5A
accent
#D94F78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682C81

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

Preview Lab → · Contrast checker → · Palette generator →

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