#682C94#682C94

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

Color values

HEX#682C94
RGBrgb(104, 44, 148)
HSLhsl(275, 54%, 38%)
HSVhsv(275, 70%, 58%)
CMYKcmyk(29.7%, 70.3%, 0%, 42%)
CIE-LABlab(31.54, 45.60, -46.29)
CIE-LCHlch(31.54, 64.98, 314.57°)
OKLaboklab(42.99% 0.0996 -0.1312)
OKLCHoklch(42.99% 0.165 307.2)
XYZxyz(11.9538, 6.8827, 28.7100)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C94 #58942C
analogous
#342C94 #682C94 #942C8C
triadic
#682C94 #94682C #2C9468
tetradic
#682C94 #94342C #58942C #2C8C94
square
#682C94 #94342C #58942C #2C8C94
split-complementary
#682C94 #8C942C #2C9434
monochromatic
#261036 #471E65 #682C94 #893AC3 #A568D2

Accessibility & contrast

On white

8.84
#682C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682C94
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C94#FFFFFF#000000##FFFFFF
##682C941.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#104B92
Tritanopia (blue-blind)
#61435C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682c94;
/* rgb */ color: rgb(104, 44, 148);
/* oklch */ color: oklch(43.0% 0.165 307.2);
Tailwind
colors: {
  custom: {
    50: '#976ab4',
    500: '#682c94',
    950: '#000000',
  },
}
SCSS
$custom: #682c94;
$custom-light: #976ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#682c94",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 274.615,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.16475,
    "h": 307.2
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#682C94
secondary
#87B963
accent
#DE4A89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C94

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

Preview Lab → · Contrast checker → · Palette generator →

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