#682384#682384

#682384 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.160 H 314.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#682384
RGBrgb(104, 35, 132)
HSLhsl(283, 58%, 33%)
HSVhsv(283, 73%, 52%)
CMYKcmyk(21.2%, 73.5%, 0%, 48.2%)
CIE-LABlab(28.93, 46.04, -40.59)
CIE-LCHlch(28.93, 61.38, 318.60°)
OKLaboklab(40.77% 0.1115 -0.1144)
OKLCHoklch(40.77% 0.16 314.3)
XYZxyz(10.4741, 5.8114, 22.3953)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682384 #3F8423
analogous
#372384 #682384 #842370
triadic
#682384 #846823 #238468
tetradic
#682384 #843723 #3F8423 #237084
square
#682384 #843723 #3F8423 #237084
split-complementary
#682384 #708423 #238437
monochromatic
#1C0923 #421654 #682384 #8E30B4 #AC51D1

Accessibility & contrast

On white

9.71
#682384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#682384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682384
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682384#FFFFFF#000000##FFFFFF
##6823841.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#1E4682
Tritanopia (blue-blind)
#653751
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682384;
/* rgb */ color: rgb(104, 35, 132);
/* oklch */ color: oklch(40.8% 0.160 314.3);
Tailwind
colors: {
  custom: {
    50: '#9765a8',
    500: '#682384',
    950: '#000000',
  },
}
SCSS
$custom: #682384;
$custom-light: #9765a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682384",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 282.68,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.15978,
    "h": 314.3
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#682384
secondary
#6CB44E
accent
#E14673
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682384

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

Preview Lab → · Contrast checker → · Palette generator →

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