#682161#682161

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

Color values

HEX#682161
RGBrgb(104, 33, 97)
HSLhsl(306, 52%, 27%)
HSVhsv(306, 68%, 41%)
CMYKcmyk(0%, 68.3%, 6.7%, 59.2%)
CIE-LABlab(26.43, 39.91, -22.22)
CIE-LCHlch(26.43, 45.68, 330.90°)
OKLaboklab(38.27% 0.1142 -0.0609)
OKLCHoklch(38.27% 0.129 331.9)
XYZxyz(8.4104, 4.8945, 11.8087)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682161 #216828
analogous
#4C2168 #682161 #68213E
triadic
#682161 #616821 #216168
tetradic
#682161 #684C21 #216828 #213E68
square
#682161 #684C21 #216828 #213E68
split-complementary
#682161 #3E6821 #21684C
monochromatic
#170716 #3A1236 #682161 #96308C #C341B6

Accessibility & contrast

On white

10.61
#682161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682161
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682161#FFFFFF#000000##FFFFFF
##6821611.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3863
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#6C283E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #682161;
/* rgb */ color: rgb(104, 33, 97);
/* oklch */ color: oklch(38.3% 0.129 331.9);
Tailwind
colors: {
  custom: {
    50: '#96628e',
    500: '#682161',
    950: '#000000',
  },
}
SCSS
$custom: #682161;
$custom-light: #96628e;
$custom-dark: #000000;
JSON
{
  "hex": "#682161",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 305.915,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38267,
    "c": 0.12947,
    "h": 331.9
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#682161
secondary
#499C51
accent
#DB5B4D
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #682161

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

Preview Lab → · Contrast checker → · Palette generator →

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