#682287#682287

#682287 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.164 H 313.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#682287
RGBrgb(104, 34, 135)
HSLhsl(282, 60%, 33%)
HSVhsv(282, 75%, 53%)
CMYKcmyk(23%, 74.8%, 0%, 47.1%)
CIE-LABlab(29.00, 47.12, -42.36)
CIE-LCHlch(29.00, 63.36, 318.05°)
OKLaboklab(40.88% 0.1122 -0.1196)
OKLCHoklch(40.88% 0.164 313.2)
XYZxyz(10.6533, 5.8367, 23.4824)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682287 #418722
analogous
#352287 #682287 #872273
triadic
#682287 #876822 #228768
tetradic
#682287 #873522 #418722 #227387
square
#682287 #873522 #418722 #227387
split-complementary
#682287 #738722 #228735
monochromatic
#1D0925 #421656 #682287 #8E2EB8 #AB50D3

Accessibility & contrast

On white

9.69
#682287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#682287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682287
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682287#FFFFFF#000000##FFFFFF
##6822871.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682287;
/* rgb */ color: rgb(104, 34, 135);
/* oklch */ color: oklch(40.9% 0.164 313.2);
Tailwind
colors: {
  custom: {
    50: '#9764ab',
    500: '#682287',
    950: '#000000',
  },
}
SCSS
$custom: #682287;
$custom-light: #9764ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682287",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 281.584,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.16398,
    "h": 313.2
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#682287
secondary
#6EB74E
accent
#E34575
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682287

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

Preview Lab → · Contrast checker → · Palette generator →

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