#682583#682583

#682583 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.156 H 314.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#682583
RGBrgb(104, 37, 131)
HSLhsl(283, 56%, 33%)
HSVhsv(283, 72%, 51%)
CMYKcmyk(20.6%, 71.8%, 0%, 48.6%)
CIE-LABlab(29.17, 44.95, -39.58)
CIE-LCHlch(29.17, 59.89, 318.64°)
OKLaboklab(40.92% 0.1094 -0.1115)
OKLCHoklch(40.92% 0.156 314.5)
XYZxyz(10.4665, 5.9052, 22.0568)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682583 #408325
analogous
#392583 #682583 #83256F
triadic
#682583 #836825 #258368
tetradic
#682583 #833925 #408325 #256F83
square
#682583 #833925 #408325 #256F83
split-complementary
#682583 #6F8325 #258339
monochromatic
#1C0A24 #421853 #682583 #8E32B3 #AB54CF

Accessibility & contrast

On white

9.63
#682583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#682583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682583
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682583#FFFFFF#000000##FFFFFF
##6825831.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#214681
Tritanopia (blue-blind)
#663851
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682583;
/* rgb */ color: rgb(104, 37, 131);
/* oklch */ color: oklch(40.9% 0.156 314.5);
Tailwind
colors: {
  custom: {
    50: '#9666a8',
    500: '#682583',
    950: '#000000',
  },
}
SCSS
$custom: #682583;
$custom-light: #9666a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682583",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 282.766,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.15619,
    "h": 314.5
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#682583
secondary
#6DB351
accent
#DF4974
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682583

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

Preview Lab → · Contrast checker → · Palette generator →

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