#682399#682399

#682399 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.181 H 306.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#682399
RGBrgb(104, 35, 153)
HSLhsl(275, 63%, 37%)
HSVhsv(275, 77%, 60%)
CMYKcmyk(32%, 77.1%, 0%, 40%)
CIE-LABlab(30.51, 50.77, -51.01)
CIE-LCHlch(30.51, 71.97, 314.86°)
OKLaboklab(42.38% 0.1079 -0.1451)
OKLCHoklch(42.38% 0.181 306.6)
XYZxyz(12.0585, 6.4452, 30.7396)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682399 #549923
analogous
#2D2399 #682399 #99238F
triadic
#682399 #996823 #239968
tetradic
#682399 #992D23 #549923 #238F99
square
#682399 #992D23 #549923 #238F99
split-complementary
#682399 #8F9923 #23992D
monochromatic
#240C35 #461867 #682399 #8A2ECB #A65DDA

Accessibility & contrast

On white

9.17
#682399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682399
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682399#FFFFFF#000000##FFFFFF
##6823991.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#5F405D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682399;
/* rgb */ color: rgb(104, 35, 153);
/* oklch */ color: oklch(42.4% 0.181 306.6);
Tailwind
colors: {
  custom: {
    50: '#9866b8',
    500: '#682399',
    950: '#000000',
  },
}
SCSS
$custom: #682399;
$custom-light: #9866b8;
$custom-dark: #000000;
JSON
{
  "hex": "#682399",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 275.085,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.18079,
    "h": 306.6
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#682399
secondary
#83BE59
accent
#E64286
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682399

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

Preview Lab → · Contrast checker → · Palette generator →

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