#682899#682899

#682899 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.175 H 306.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#682899
RGBrgb(104, 40, 153)
HSLhsl(274, 59%, 38%)
HSVhsv(274, 74%, 60%)
CMYKcmyk(32%, 73.9%, 0%, 40%)
CIE-LABlab(31.26, 48.64, -49.80)
CIE-LCHlch(31.26, 69.61, 314.32°)
OKLaboklab(42.91% 0.1031 -0.1415)
OKLCHoklch(42.91% 0.175 306.1)
XYZxyz(12.2162, 6.7607, 30.7922)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682899 #599928
analogous
#2F2899 #682899 #992891
triadic
#682899 #996828 #289968
tetradic
#682899 #992F28 #599928 #289199
square
#682899 #992F28 #599928 #289199
split-complementary
#682899 #919928 #28992F
monochromatic
#260F38 #471B68 #682899 #8935CA #A565D7

Accessibility & contrast

On white

8.93
#682899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#682899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682899
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682899#FFFFFF#000000##FFFFFF
##6828991.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#5F435E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682899;
/* rgb */ color: rgb(104, 40, 153);
/* oklch */ color: oklch(42.9% 0.175 306.1);
Tailwind
colors: {
  custom: {
    50: '#9868b8',
    500: '#682899',
    950: '#000000',
  },
}
SCSS
$custom: #682899;
$custom-light: #9868b8;
$custom-dark: #000000;
JSON
{
  "hex": "#682899",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 273.982,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.17508,
    "h": 306.1
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#682899
secondary
#88BD60
accent
#E2468A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682899

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

Preview Lab → · Contrast checker → · Palette generator →

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