#682183#682183

#682183 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.161 H 314.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#682183
RGBrgb(104, 33, 131)
HSLhsl(283, 60%, 32%)
HSVhsv(283, 75%, 51%)
CMYKcmyk(20.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(28.56, 46.67, -40.56)
CIE-LCHlch(28.56, 61.83, 319.01°)
OKLaboklab(40.48% 0.1137 -0.1143)
OKLCHoklch(40.48% 0.161 314.9)
XYZxyz(10.3488, 5.6698, 22.0176)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682183 #3C8321
analogous
#372183 #682183 #83216D
triadic
#682183 #836821 #218368
tetradic
#682183 #833721 #3C8321 #216D83
square
#682183 #833721 #3C8321 #216D83
split-complementary
#682183 #6D8321 #218337
monochromatic
#1A0821 #411552 #682183 #8F2DB4 #AD4CD2

Accessibility & contrast

On white

9.84
#682183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#682183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682183
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682183#FFFFFF#000000##FFFFFF
##6821831.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682183;
/* rgb */ color: rgb(104, 33, 131);
/* oklch */ color: oklch(40.5% 0.161 314.9);
Tailwind
colors: {
  custom: {
    50: '#9764a8',
    500: '#682183',
    950: '#000000',
  },
}
SCSS
$custom: #682183;
$custom-light: #9764a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682183",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 283.469,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.16127,
    "h": 314.9
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#682183
secondary
#68B54B
accent
#E34570
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682183

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

Preview Lab → · Contrast checker → · Palette generator →

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