#682285#682285

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

Color values

HEX#682285
RGBrgb(104, 34, 133)
HSLhsl(282, 59%, 33%)
HSVhsv(282, 74%, 52%)
CMYKcmyk(21.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(28.85, 46.69, -41.34)
CIE-LCHlch(28.85, 62.36, 318.48°)
OKLaboklab(40.73% 0.1124 -0.1166)
OKLCHoklch(40.73% 0.162 313.9)
XYZxyz(10.5139, 5.7809, 22.7477)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682285 #3F8522
analogous
#362285 #682285 #852270
triadic
#682285 #856822 #228568
tetradic
#682285 #853622 #3F8522 #227085
square
#682285 #853622 #3F8522 #227085
split-complementary
#682285 #708522 #228536
monochromatic
#1C0924 #421654 #682285 #8E2EB6 #AC4FD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682285#FFFFFF#000000##FFFFFF
##6822851.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)
#004088
Deuteranopia (green-blind)
#1B4683
Tritanopia (blue-blind)
#653751
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682285;
/* rgb */ color: rgb(104, 34, 133);
/* oklch */ color: oklch(40.7% 0.162 313.9);
Tailwind
colors: {
  custom: {
    50: '#9764a9',
    500: '#682285',
    950: '#000000',
  },
}
SCSS
$custom: #682285;
$custom-light: #9764a9;
$custom-dark: #000000;
JSON
{
  "hex": "#682285",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 282.424,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.16201,
    "h": 313.9
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#682285
secondary
#6CB64D
accent
#E24573
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682285

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

Preview Lab → · Contrast checker → · Palette generator →

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