#682099#682099

#682099 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.184 H 306.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#682099
RGBrgb(104, 32, 153)
HSLhsl(276, 65%, 36%)
HSVhsv(276, 79%, 60%)
CMYKcmyk(32%, 79.1%, 0%, 40%)
CIE-LABlab(30.10, 51.95, -51.68)
CIE-LCHlch(30.10, 73.28, 315.15°)
OKLaboklab(42.09% 0.1106 -0.147)
OKLCHoklch(42.09% 0.184 306.9)
XYZxyz(11.9740, 6.2761, 30.7114)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682099 #519920
analogous
#2B2099 #682099 #99208E
triadic
#682099 #996820 #209968
tetradic
#682099 #992B20 #519920 #208E99
square
#682099 #992B20 #519920 #208E99
split-complementary
#682099 #8E9920 #20992B
monochromatic
#230B34 #461566 #682099 #8A2BCC #A657DC

Accessibility & contrast

On white

9.31
#682099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682099
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682099#FFFFFF#000000##FFFFFF
##6820991.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#603F5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682099;
/* rgb */ color: rgb(104, 32, 153);
/* oklch */ color: oklch(42.1% 0.184 306.9);
Tailwind
colors: {
  custom: {
    50: '#9864b8',
    500: '#682099',
    950: '#000000',
  },
}
SCSS
$custom: #682099;
$custom-light: #9864b8;
$custom-dark: #000000;
JSON
{
  "hex": "#682099",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 275.702,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.18394,
    "h": 306.9
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#682099
secondary
#80C055
accent
#E83F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682099

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

Preview Lab → · Contrast checker → · Palette generator →

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