#682160#682160

#682160 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.2% C 0.129 H 332.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#682160
RGBrgb(104, 33, 96)
HSLhsl(307, 52%, 27%)
HSVhsv(307, 68%, 41%)
CMYKcmyk(0%, 68.3%, 7.7%, 59.2%)
CIE-LABlab(26.38, 39.73, -21.65)
CIE-LCHlch(26.38, 45.25, 331.42°)
OKLaboklab(38.21% 0.1141 -0.0593)
OKLCHoklch(38.21% 0.129 332.5)
XYZxyz(8.3641, 4.8759, 11.5647)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682160 #216829
analogous
#4D2168 #682160 #68213D
triadic
#682160 #606821 #216068
tetradic
#682160 #684D21 #216829 #213D68
square
#682160 #684D21 #216829 #213D68
split-complementary
#682160 #3D6821 #21684D
monochromatic
#170715 #3A1235 #682160 #96308B #C341B4

Accessibility & contrast

On white

10.63
#682160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#682160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682160
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682160#FFFFFF#000000##FFFFFF
##6821601.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3862
Deuteranopia (green-blind)
#36425E
Tritanopia (blue-blind)
#6D273D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #682160;
/* rgb */ color: rgb(104, 33, 96);
/* oklch */ color: oklch(38.2% 0.129 332.5);
Tailwind
colors: {
  custom: {
    50: '#96628d',
    500: '#682160',
    950: '#000000',
  },
}
SCSS
$custom: #682160;
$custom-light: #96628d;
$custom-dark: #000000;
JSON
{
  "hex": "#682160",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 306.761,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38211,
    "c": 0.12861,
    "h": 332.5
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#682160
secondary
#499C52
accent
#DB5D4D
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #682160

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

Preview Lab → · Contrast checker → · Palette generator →

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