#682388#682388

#682388 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 312.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#682388
RGBrgb(104, 35, 136)
HSLhsl(281, 59%, 34%)
HSVhsv(281, 74%, 53%)
CMYKcmyk(23.5%, 74.3%, 0%, 46.7%)
CIE-LABlab(29.22, 46.92, -42.62)
CIE-LCHlch(29.22, 63.39, 317.75°)
OKLaboklab(41.06% 0.111 -0.1204)
OKLCHoklch(41.06% 0.164 312.7)
XYZxyz(10.7531, 5.9230, 23.8646)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682388 #438823
analogous
#352388 #682388 #882375
triadic
#682388 #886823 #238868
tetradic
#682388 #883523 #438823 #237588
square
#682388 #883523 #438823 #237588
split-complementary
#682388 #758823 #238835
monochromatic
#1E0A27 #431657 #682388 #8D30B9 #AA53D3

Accessibility & contrast

On white

9.61
#682388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#682388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682388
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682388#FFFFFF#000000##FFFFFF
##6823881.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#643953
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #682388;
/* rgb */ color: rgb(104, 35, 136);
/* oklch */ color: oklch(41.1% 0.164 312.7);
Tailwind
colors: {
  custom: {
    50: '#9765ab',
    500: '#682388',
    950: '#000000',
  },
}
SCSS
$custom: #682388;
$custom-light: #9765ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682388",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 280.99,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.16376,
    "h": 312.7
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#682388
secondary
#71B750
accent
#E24677
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682388

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

Preview Lab → · Contrast checker → · Palette generator →

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