#682F81#682F81

#682F81 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.0% C 0.140 H 314.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#682F81
RGBrgb(104, 47, 129)
HSLhsl(282, 47%, 35%)
HSVhsv(282, 64%, 51%)
CMYKcmyk(19.4%, 63.6%, 0%, 49.4%)
CIE-LABlab(30.79, 39.66, -35.74)
CIE-LCHlch(30.79, 53.39, 317.98°)
OKLaboklab(42.04% 0.0972 -0.1003)
OKLCHoklch(42.04% 0.14 314.1)
XYZxyz(10.6872, 6.5614, 21.4681)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F81 #48812F
analogous
#3F2F81 #682F81 #812F71
triadic
#682F81 #81682F #2F8168
tetradic
#682F81 #813F2F #48812F #2F7181
square
#682F81 #813F2F #48812F #2F7181
split-complementary
#682F81 #71812F #2F813F
monochromatic
#200E27 #441F54 #682F81 #8C3FAE #A864C6

Accessibility & contrast

On white

9.08
#682F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#682F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F81
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F81#FFFFFF#000000##FFFFFF
##682F811.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124584
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#663E53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682f81;
/* rgb */ color: rgb(104, 47, 129);
/* oklch */ color: oklch(42.0% 0.140 314.1);
Tailwind
colors: {
  custom: {
    50: '#966ba6',
    500: '#682f81',
    950: '#000000',
  },
}
SCSS
$custom: #682f81;
$custom-light: #966ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#682f81",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 281.707,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.13968,
    "h": 314.1
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#682F81
secondary
#76AD5E
accent
#D6527A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682F81

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

Preview Lab → · Contrast checker → · Palette generator →

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