#682A91#682A91

#682A91 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.164 H 308.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#682A91
RGBrgb(104, 42, 145)
HSLhsl(276, 55%, 37%)
HSVhsv(276, 71%, 57%)
CMYKcmyk(28.3%, 71%, 0%, 43.1%)
CIE-LABlab(30.98, 45.84, -45.34)
CIE-LCHlch(30.98, 64.48, 315.31°)
OKLaboklab(42.53% 0.1022 -0.1284)
OKLCHoklch(42.53% 0.164 308.5)
XYZxyz(11.6467, 6.6435, 27.4514)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A91 #53912A
analogous
#352A91 #682A91 #912A87
triadic
#682A91 #91682A #2A9168
tetradic
#682A91 #91352A #53912A #2A8791
square
#682A91 #91352A #53912A #2A8791
split-complementary
#682A91 #87912A #2A9135
monochromatic
#240F32 #461C62 #682A91 #8A38C0 #A663D2

Accessibility & contrast

On white

9.02
#682A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#682A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A91
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A91#FFFFFF#000000##FFFFFF
##682A911.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#124A8F
Tritanopia (blue-blind)
#62415A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682a91;
/* rgb */ color: rgb(104, 42, 145);
/* oklch */ color: oklch(42.5% 0.164 308.5);
Tailwind
colors: {
  custom: {
    50: '#9769b2',
    500: '#682a91',
    950: '#000000',
  },
}
SCSS
$custom: #682a91;
$custom-light: #9769b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682a91",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 276.117,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.16415,
    "h": 308.5
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#682A91
secondary
#82B85F
accent
#DE4985
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A91

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

Preview Lab → · Contrast checker → · Palette generator →

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