#682485#682485

#682485 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.160 H 313.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#682485
RGBrgb(104, 36, 133)
HSLhsl(282, 57%, 33%)
HSVhsv(282, 73%, 52%)
CMYKcmyk(21.8%, 72.9%, 0%, 47.8%)
CIE-LABlab(29.16, 45.83, -40.85)
CIE-LCHlch(29.16, 61.40, 318.29°)
OKLaboklab(40.95% 0.1103 -0.1152)
OKLCHoklch(40.95% 0.16 313.8)
XYZxyz(10.5727, 5.8986, 22.7674)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682485 #418524
analogous
#382485 #682485 #852471
triadic
#682485 #856824 #248568
tetradic
#682485 #853824 #418524 #247185
square
#682485 #853824 #418524 #247185
split-complementary
#682485 #718524 #248538
monochromatic
#1D0A25 #421755 #682485 #8E31B5 #AB53D0

Accessibility & contrast

On white

9.63
#682485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#682485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682485
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682485#FFFFFF#000000##FFFFFF
##6824851.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#1D4683
Tritanopia (blue-blind)
#653852
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682485;
/* rgb */ color: rgb(104, 36, 133);
/* oklch */ color: oklch(40.9% 0.160 313.8);
Tailwind
colors: {
  custom: {
    50: '#9765a9',
    500: '#682485',
    950: '#000000',
  },
}
SCSS
$custom: #682485;
$custom-light: #9765a9;
$custom-dark: #000000;
JSON
{
  "hex": "#682485",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 282.062,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.1595,
    "h": 313.8
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#682485
secondary
#6EB450
accent
#E14775
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682485

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

Preview Lab → · Contrast checker → · Palette generator →

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