#682A90#682A90

#682A90 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.163 H 308.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#682A90
RGBrgb(104, 42, 144)
HSLhsl(276, 55%, 36%)
HSVhsv(276, 71%, 56%)
CMYKcmyk(27.8%, 70.8%, 0%, 43.5%)
CIE-LABlab(30.91, 45.61, -44.85)
CIE-LCHlch(30.91, 63.96, 315.48°)
OKLaboklab(42.45% 0.1023 -0.127)
OKLCHoklch(42.45% 0.163 308.9)
XYZxyz(11.5699, 6.6128, 27.0470)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A90 #52902A
analogous
#352A90 #682A90 #902A85
triadic
#682A90 #90682A #2A9068
tetradic
#682A90 #90352A #52902A #2A8590
square
#682A90 #90352A #52902A #2A8590
split-complementary
#682A90 #85902A #2A9035
monochromatic
#240E31 #461C61 #682A90 #8A38BF #A663D1

Accessibility & contrast

On white

9.04
#682A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#682A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A90
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A90#FFFFFF#000000##FFFFFF
##682A901.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#144A8E
Tritanopia (blue-blind)
#62405A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682a90;
/* rgb */ color: rgb(104, 42, 144);
/* oklch */ color: oklch(42.4% 0.163 308.9);
Tailwind
colors: {
  custom: {
    50: '#9769b1',
    500: '#682a90',
    950: '#000000',
  },
}
SCSS
$custom: #682a90;
$custom-light: #9769b1;
$custom-dark: #000000;
JSON
{
  "hex": "#682a90",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 276.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.16309,
    "h": 308.9
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#682A90
secondary
#81B75E
accent
#DE4A84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A90

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

Preview Lab → · Contrast checker → · Palette generator →

#682A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva