#682180#682180

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

Color values

HEX#682180
RGBrgb(104, 33, 128)
HSLhsl(285, 59%, 32%)
HSVhsv(285, 74%, 50%)
CMYKcmyk(18.8%, 74.2%, 0%, 49.8%)
CIE-LABlab(28.35, 46.03, -39.01)
CIE-LCHlch(28.35, 60.34, 319.72°)
OKLaboklab(40.27% 0.1141 -0.1098)
OKLCHoklch(40.27% 0.158 316.1)
XYZxyz(10.1485, 5.5897, 20.9622)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682180 #398021
analogous
#392180 #682180 #802169
triadic
#682180 #806821 #218068
tetradic
#682180 #803921 #398021 #216980
square
#682180 #803921 #398021 #216980
split-complementary
#682180 #698021 #218039
monochromatic
#19081F #40144F #682180 #902EB1 #AF4BD1

Accessibility & contrast

On white

9.92
#682180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682180
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682180#FFFFFF#000000##FFFFFF
##6821801.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#66354E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682180;
/* rgb */ color: rgb(104, 33, 128);
/* oklch */ color: oklch(40.3% 0.158 316.1);
Tailwind
colors: {
  custom: {
    50: '#9664a5',
    500: '#682180',
    950: '#000000',
  },
}
SCSS
$custom: #682180;
$custom-light: #9664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#682180",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 284.842,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.15835,
    "h": 316.1
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#682180
secondary
#65B34A
accent
#E2466D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682180

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

Preview Lab → · Contrast checker → · Palette generator →

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