#682A94#682A94

#682A94 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.167 H 307.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#682A94
RGBrgb(104, 42, 148)
HSLhsl(275, 56%, 37%)
HSVhsv(275, 72%, 58%)
CMYKcmyk(29.7%, 71.6%, 0%, 42%)
CIE-LABlab(31.20, 46.55, -46.83)
CIE-LCHlch(31.20, 66.03, 314.83°)
OKLaboklab(42.75% 0.1018 -0.1328)
OKLCHoklch(42.75% 0.167 307.5)
XYZxyz(11.8811, 6.7373, 28.6858)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682A94 #56942A
analogous
#332A94 #682A94 #942A8B
triadic
#682A94 #94682A #2A9468
tetradic
#682A94 #94332A #56942A #2A8B94
square
#682A94 #94332A #56942A #2A8B94
split-complementary
#682A94 #8B942A #2A9433
monochromatic
#250F35 #471C64 #682A94 #8938C4 #A665D3

Accessibility & contrast

On white

8.95
#682A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#682A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682A94
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682A94#FFFFFF#000000##FFFFFF
##682A941.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#0B4A92
Tritanopia (blue-blind)
#61425C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682a94;
/* rgb */ color: rgb(104, 42, 148);
/* oklch */ color: oklch(42.8% 0.167 307.5);
Tailwind
colors: {
  custom: {
    50: '#9769b4',
    500: '#682a94',
    950: '#000000',
  },
}
SCSS
$custom: #682a94;
$custom-light: #9769b4;
$custom-dark: #000000;
JSON
{
  "hex": "#682a94",
  "rgb": {
    "r": 104,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 275.094,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42751,
    "c": 0.16735,
    "h": 307.5
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#682A94
secondary
#85B960
accent
#DF4987
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682A94

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

Preview Lab → · Contrast checker → · Palette generator →

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