#682162#682162

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

Color values

HEX#682162
RGBrgb(104, 33, 98)
HSLhsl(305, 52%, 27%)
HSVhsv(305, 68%, 41%)
CMYKcmyk(0%, 68.3%, 5.8%, 59.2%)
CIE-LABlab(26.49, 40.09, -22.79)
CIE-LCHlch(26.49, 46.11, 330.39°)
OKLaboklab(38.32% 0.1144 -0.0626)
OKLCHoklch(38.32% 0.13 331.3)
XYZxyz(8.4574, 4.9132, 12.0558)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682162 #216827
analogous
#4B2168 #682162 #68213F
triadic
#682162 #626821 #216268
tetradic
#682162 #684B21 #216827 #213F68
square
#682162 #684B21 #216827 #213F68
split-complementary
#682162 #3F6821 #21684B
monochromatic
#170716 #3A1236 #682162 #96308E #C341B8

Accessibility & contrast

On white

10.59
#682162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682162
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682162#FFFFFF#000000##FFFFFF
##6821621.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#354260
Tritanopia (blue-blind)
#6C283E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #682162;
/* rgb */ color: rgb(104, 33, 98);
/* oklch */ color: oklch(38.3% 0.130 331.3);
Tailwind
colors: {
  custom: {
    50: '#96628f',
    500: '#682162',
    950: '#000000',
  },
}
SCSS
$custom: #682162;
$custom-light: #96628f;
$custom-dark: #000000;
JSON
{
  "hex": "#682162",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 305.07,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38324,
    "c": 0.13034,
    "h": 331.3
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#682162
secondary
#499C50
accent
#DB594D
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #682162

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

Preview Lab → · Contrast checker → · Palette generator →

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