#682187#682187

#682187 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.165 H 313.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#682187
RGBrgb(104, 33, 135)
HSLhsl(282, 61%, 33%)
HSVhsv(282, 76%, 53%)
CMYKcmyk(23%, 75.6%, 0%, 47.1%)
CIE-LABlab(28.85, 47.54, -42.59)
CIE-LCHlch(28.85, 63.83, 318.14°)
OKLaboklab(40.78% 0.1132 -0.1203)
OKLCHoklch(40.78% 0.165 313.3)
XYZxyz(10.6252, 5.7804, 23.4730)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682187 #408721
analogous
#352187 #682187 #872173
triadic
#682187 #876821 #218768
tetradic
#682187 #873521 #408721 #217387
square
#682187 #873521 #408721 #217387
split-complementary
#682187 #738721 #218735
monochromatic
#1C0925 #421556 #682187 #8E2DB8 #AB4FD4

Accessibility & contrast

On white

9.74
#682187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#682187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682187
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682187#FFFFFF#000000##FFFFFF
##6821871.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#174685
Tritanopia (blue-blind)
#653852
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682187;
/* rgb */ color: rgb(104, 33, 135);
/* oklch */ color: oklch(40.8% 0.165 313.3);
Tailwind
colors: {
  custom: {
    50: '#9764ab',
    500: '#682187',
    950: '#000000',
  },
}
SCSS
$custom: #682187;
$custom-light: #9764ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682187",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 281.765,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.16518,
    "h": 313.3
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#682187
secondary
#6DB74D
accent
#E44475
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682187

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

Preview Lab → · Contrast checker → · Palette generator →

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