#682F7D#682F7D

#682F7D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.8% C 0.135 H 315.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#682F7D
RGBrgb(104, 47, 125)
HSLhsl(284, 45%, 34%)
HSVhsv(284, 62%, 49%)
CMYKcmyk(16.8%, 62.4%, 0%, 51%)
CIE-LABlab(30.54, 38.76, -33.63)
CIE-LCHlch(30.54, 51.32, 319.05°)
OKLaboklab(41.78% 0.0972 -0.0941)
OKLCHoklch(41.78% 0.135 315.9)
XYZxyz(10.4265, 6.4571, 20.0952)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F7D #447D2F
analogous
#412F7D #682F7D #7D2F6B
triadic
#682F7D #7D682F #2F7D68
tetradic
#682F7D #7D412F #447D2F #2F6B7D
square
#682F7D #7D412F #447D2F #2F6B7D
split-complementary
#682F7D #6B7D2F #2F7D41
monochromatic
#1E0E24 #431E51 #682F7D #8D40A9 #AA62C4

Accessibility & contrast

On white

9.16
#682F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F7D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F7D#FFFFFF#000000##FFFFFF
##682F7D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447F
Deuteranopia (green-blind)
#2F4A7B
Tritanopia (blue-blind)
#673C51
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682f7d;
/* rgb */ color: rgb(104, 47, 125);
/* oklch */ color: oklch(41.8% 0.135 315.9);
Tailwind
colors: {
  custom: {
    50: '#956ba3',
    500: '#682f7d',
    950: '#000000',
  },
}
SCSS
$custom: #682f7d;
$custom-light: #956ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#682f7d",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 283.846,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41776,
    "c": 0.1353,
    "h": 315.9
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#682F7D
secondary
#72AB5D
accent
#D55376
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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