#682883#682883

#682883 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.152 H 314.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#682883
RGBrgb(104, 40, 131)
HSLhsl(282, 53%, 34%)
HSVhsv(282, 69%, 51%)
CMYKcmyk(20.6%, 69.5%, 0%, 48.6%)
CIE-LABlab(29.66, 43.58, -38.79)
CIE-LCHlch(29.66, 58.34, 318.33°)
OKLaboklab(41.27% 0.1059 -0.1092)
OKLCHoklch(41.27% 0.152 314.1)
XYZxyz(10.5638, 6.0997, 22.0892)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682883 #438328
analogous
#3A2883 #682883 #832870
triadic
#682883 #836828 #288368
tetradic
#682883 #833A28 #438328 #287083
square
#682883 #833A28 #438328 #287083
split-complementary
#682883 #708328 #28833A
monochromatic
#1E0B25 #431A54 #682883 #8D36B2 #AA59CC

Accessibility & contrast

On white

9.46
#682883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682883
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682883#FFFFFF#000000##FFFFFF
##6828831.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#244781
Tritanopia (blue-blind)
#663A52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682883;
/* rgb */ color: rgb(104, 40, 131);
/* oklch */ color: oklch(41.3% 0.152 314.1);
Tailwind
colors: {
  custom: {
    50: '#9667a8',
    500: '#682883',
    950: '#000000',
  },
}
SCSS
$custom: #682883;
$custom-light: #9667a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682883",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 282.198,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.15213,
    "h": 314.1
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#682883
secondary
#71B155
accent
#DD4B76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682883

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

Preview Lab → · Contrast checker → · Palette generator →

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