#682179#682179

#682179 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.152 H 319.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#682179
RGBrgb(104, 33, 121)
HSLhsl(288, 57%, 30%)
HSVhsv(288, 73%, 47%)
CMYKcmyk(14%, 72.7%, 0%, 52.5%)
CIE-LABlab(27.88, 44.56, -35.36)
CIE-LCHlch(27.88, 56.89, 321.57°)
OKLaboklab(39.78% 0.1147 -0.0991)
OKLCHoklch(39.78% 0.152 319.2)
XYZxyz(9.7035, 5.4117, 18.6189)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682179 #327921
analogous
#3C2179 #682179 #79215E
triadic
#682179 #796821 #217968
tetradic
#682179 #793C21 #327921 #215E79
square
#682179 #793C21 #327921 #215E79
split-complementary
#682179 #5E7921 #21793C
monochromatic
#150719 #3F1449 #682179 #912EA9 #B347CD

Accessibility & contrast

On white

10.09
#682179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#682179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682179
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682179#FFFFFF#000000##FFFFFF
##6821791.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#68324A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #682179;
/* rgb */ color: rgb(104, 33, 121);
/* oklch */ color: oklch(39.8% 0.152 319.2);
Tailwind
colors: {
  custom: {
    50: '#9663a0',
    500: '#682179',
    950: '#000000',
  },
}
SCSS
$custom: #682179;
$custom-light: #9663a0;
$custom-dark: #000000;
JSON
{
  "hex": "#682179",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 288.409,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39775,
    "c": 0.15159,
    "h": 319.2
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#682179
secondary
#5DAC4A
accent
#E04765
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #682179

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

Preview Lab → · Contrast checker → · Palette generator →

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