#682A93#682A93

#682A93 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.166 H 307.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#682A93
RGBrgb(104, 42, 147)
HSLhsl(275, 56%, 37%)
HSVhsv(275, 71%, 58%)
CMYKcmyk(29.3%, 71.4%, 0%, 42.4%)
CIE-LABlab(31.13, 46.31, -46.34)
CIE-LCHlch(31.13, 65.51, 314.98°)
OKLaboklab(42.68% 0.1019 -0.1314)
OKLCHoklch(42.68% 0.166 307.8)
XYZxyz(11.8022, 6.7057, 28.2707)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A93 #55932A
analogous
#342A93 #682A93 #932A8A
triadic
#682A93 #93682A #2A9368
tetradic
#682A93 #93342A #55932A #2A8A93
square
#682A93 #93342A #55932A #2A8A93
split-complementary
#682A93 #8A932A #2A9334
monochromatic
#250F34 #461C63 #682A93 #8A38C3 #A665D3

Accessibility & contrast

On white

8.97
#682A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#682A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A93
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A93#FFFFFF#000000##FFFFFF
##682A931.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#0E4A91
Tritanopia (blue-blind)
#61425B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682a93;
/* rgb */ color: rgb(104, 42, 147);
/* oklch */ color: oklch(42.7% 0.166 307.8);
Tailwind
colors: {
  custom: {
    50: '#9769b3',
    500: '#682a93',
    950: '#000000',
  },
}
SCSS
$custom: #682a93;
$custom-light: #9769b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682a93",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 275.429,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.16627,
    "h": 307.8
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#682A93
secondary
#84B960
accent
#DF4986
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A93

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

Preview Lab → · Contrast checker → · Palette generator →

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