#682181#682181

#682181 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.159 H 315.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#682181
RGBrgb(104, 33, 129)
HSLhsl(284, 59%, 32%)
HSVhsv(284, 74%, 51%)
CMYKcmyk(19.4%, 74.4%, 0%, 49.4%)
CIE-LABlab(28.42, 46.24, -39.53)
CIE-LCHlch(28.42, 60.84, 319.48°)
OKLaboklab(40.34% 0.114 -0.1113)
OKLCHoklch(40.34% 0.159 315.7)
XYZxyz(10.2146, 5.6161, 21.3106)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682181 #3A8121
analogous
#382181 #682181 #81216A
triadic
#682181 #816821 #218168
tetradic
#682181 #813821 #3A8121 #216A81
square
#682181 #813821 #3A8121 #216A81
split-complementary
#682181 #6A8121 #218138
monochromatic
#190820 #411550 #682181 #8F2DB2 #AE4BD1

Accessibility & contrast

On white

9.89
#682181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#682181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682181
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682181#FFFFFF#000000##FFFFFF
##6821811.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#1F457F
Tritanopia (blue-blind)
#66354F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682181;
/* rgb */ color: rgb(104, 33, 129);
/* oklch */ color: oklch(40.3% 0.159 315.7);
Tailwind
colors: {
  custom: {
    50: '#9764a6',
    500: '#682181',
    950: '#000000',
  },
}
SCSS
$custom: #682181;
$custom-light: #9764a6;
$custom-dark: #000000;
JSON
{
  "hex": "#682181",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 284.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.15932,
    "h": 315.7
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#682181
secondary
#66B44A
accent
#E2456E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682181

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

Preview Lab → · Contrast checker → · Palette generator →

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