#682083#682083

#682083 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.162 H 314.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#682083
RGBrgb(104, 32, 131)
HSLhsl(284, 61%, 32%)
HSVhsv(284, 76%, 51%)
CMYKcmyk(20.6%, 75.6%, 0%, 48.6%)
CIE-LABlab(28.42, 47.08, -40.79)
CIE-LCHlch(28.42, 62.29, 319.10°)
OKLaboklab(40.38% 0.1148 -0.115)
OKLCHoklch(40.38% 0.162 314.9)
XYZxyz(10.3215, 5.6151, 22.0085)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682083 #3B8320
analogous
#362083 #682083 #83206D
triadic
#682083 #836820 #208368
tetradic
#682083 #833620 #3B8320 #206D83
square
#682083 #833620 #3B8320 #206D83
split-complementary
#682083 #6D8320 #208336
monochromatic
#1A0821 #411452 #682083 #8F2CB4 #AE4AD3

Accessibility & contrast

On white

9.89
#682083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682083
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682083#FFFFFF#000000##FFFFFF
##6820831.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#663550
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #682083;
/* rgb */ color: rgb(104, 32, 131);
/* oklch */ color: oklch(40.4% 0.162 314.9);
Tailwind
colors: {
  custom: {
    50: '#9763a8',
    500: '#682083',
    950: '#000000',
  },
}
SCSS
$custom: #682083;
$custom-light: #9763a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682083",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 283.636,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.16247,
    "h": 314.9
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#682083
secondary
#67B649
accent
#E44470
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682083

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

Preview Lab → · Contrast checker → · Palette generator →

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