#682D92#682D92

#682D92 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.161 H 307.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#682D92
RGBrgb(104, 45, 146)
HSLhsl(275, 53%, 37%)
HSVhsv(275, 69%, 57%)
CMYKcmyk(28.8%, 69.2%, 0%, 42.7%)
CIE-LABlab(31.57, 44.64, -45.01)
CIE-LCHlch(31.57, 63.40, 314.76°)
OKLaboklab(42.97% 0.0987 -0.1275)
OKLCHoklch(42.97% 0.161 307.7)
XYZxyz(11.8345, 6.8953, 27.8960)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D92 #57922D
analogous
#362D92 #682D92 #922D89
triadic
#682D92 #92682D #2D9268
tetradic
#682D92 #92362D #57922D #2D8992
square
#682D92 #92362D #57922D #2D8992
split-complementary
#682D92 #89922D #2D9236
monochromatic
#251034 #471F63 #682D92 #893BC1 #A569D1

Accessibility & contrast

On white

8.83
#682D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#682D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D92
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D92#FFFFFF#000000##FFFFFF
##682D921.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#164B90
Tritanopia (blue-blind)
#61435C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682d92;
/* rgb */ color: rgb(104, 45, 146);
/* oklch */ color: oklch(43.0% 0.161 307.7);
Tailwind
colors: {
  custom: {
    50: '#976bb3',
    500: '#682d92',
    950: '#000000',
  },
}
SCSS
$custom: #682d92;
$custom-light: #976bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#682d92",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 275.05,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.16123,
    "h": 307.7
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#682D92
secondary
#86B763
accent
#DC4C88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682D92

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

Preview Lab → · Contrast checker → · Palette generator →

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