#682783#682783

#682783 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.154 H 314.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#682783
RGBrgb(104, 39, 131)
HSLhsl(282, 54%, 33%)
HSVhsv(282, 70%, 51%)
CMYKcmyk(20.6%, 70.2%, 0%, 48.6%)
CIE-LABlab(29.50, 44.04, -39.06)
CIE-LCHlch(29.50, 58.87, 318.43°)
OKLaboklab(41.15% 0.1071 -0.11)
OKLCHoklch(41.15% 0.154 314.2)
XYZxyz(10.5305, 6.0331, 22.0781)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682783 #428327
analogous
#3A2783 #682783 #832770
triadic
#682783 #836827 #278368
tetradic
#682783 #833A27 #428327 #277083
square
#682783 #833A27 #428327 #277083
split-complementary
#682783 #708327 #27833A
monochromatic
#1D0B25 #431954 #682783 #8D35B2 #AB57CD

Accessibility & contrast

On white

9.52
#682783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#682783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682783
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682783#FFFFFF#000000##FFFFFF
##6827831.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#663952
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682783;
/* rgb */ color: rgb(104, 39, 131);
/* oklch */ color: oklch(41.1% 0.154 314.2);
Tailwind
colors: {
  custom: {
    50: '#9667a8',
    500: '#682783',
    950: '#000000',
  },
}
SCSS
$custom: #682783;
$custom-light: #9667a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682783",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 282.391,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41149,
    "c": 0.15351,
    "h": 314.2
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#682783
secondary
#6FB254
accent
#DD4A76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682783

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

Preview Lab → · Contrast checker → · Palette generator →

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