#682C92#682C92

#682C92 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.163 H 307.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#682C92
RGBrgb(104, 44, 146)
HSLhsl(275, 54%, 37%)
HSVhsv(275, 70%, 57%)
CMYKcmyk(28.8%, 69.9%, 0%, 42.7%)
CIE-LABlab(31.39, 45.13, -45.29)
CIE-LCHlch(31.39, 63.94, 314.89°)
OKLaboklab(42.84% 0.0999 -0.1283)
OKLCHoklch(42.84% 0.163 307.9)
XYZxyz(11.7968, 6.8199, 27.8835)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C92 #56922C
analogous
#352C92 #682C92 #922C89
triadic
#682C92 #92682C #2C9268
tetradic
#682C92 #92352C #56922C #2C8992
square
#682C92 #92352C #56922C #2C8992
split-complementary
#682C92 #89922C #2C9235
monochromatic
#251034 #471E63 #682C92 #893AC1 #A667D1

Accessibility & contrast

On white

8.88
#682C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#682C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C92
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C92#FFFFFF#000000##FFFFFF
##682C921.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#144A90
Tritanopia (blue-blind)
#61425B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682c92;
/* rgb */ color: rgb(104, 44, 146);
/* oklch */ color: oklch(42.8% 0.163 307.9);
Tailwind
colors: {
  custom: {
    50: '#976ab3',
    500: '#682c92',
    950: '#000000',
  },
}
SCSS
$custom: #682c92;
$custom-light: #976ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#682c92",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 275.294,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.16258,
    "h": 307.9
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#682C92
secondary
#85B862
accent
#DD4B87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C92

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

Preview Lab → · Contrast checker → · Palette generator →

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