#682C93#682C93

#682C93 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.164 H 307.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#682C93
RGBrgb(104, 44, 147)
HSLhsl(275, 54%, 37%)
HSVhsv(275, 70%, 58%)
CMYKcmyk(29.3%, 70.1%, 0%, 42.4%)
CIE-LABlab(31.47, 45.37, -45.79)
CIE-LCHlch(31.47, 64.46, 314.73°)
OKLaboklab(42.92% 0.0997 -0.1298)
OKLCHoklch(42.92% 0.164 307.5)
XYZxyz(11.8750, 6.8512, 28.2949)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C93 #57932C
analogous
#342C93 #682C93 #932C8B
triadic
#682C93 #93682C #2C9368
tetradic
#682C93 #93342C #57932C #2C8B93
square
#682C93 #93342C #57932C #2C8B93
split-complementary
#682C93 #8B932C #2C9334
monochromatic
#251035 #471E64 #682C93 #893AC2 #A568D2

Accessibility & contrast

On white

8.86
#682C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#682C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C93
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C93#FFFFFF#000000##FFFFFF
##682C931.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#124B91
Tritanopia (blue-blind)
#61435C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682c93;
/* rgb */ color: rgb(104, 44, 147);
/* oklch */ color: oklch(42.9% 0.164 307.5);
Tailwind
colors: {
  custom: {
    50: '#976ab3',
    500: '#682c93',
    950: '#000000',
  },
}
SCSS
$custom: #682c93;
$custom-light: #976ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#682c93",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 274.951,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42917,
    "c": 0.16366,
    "h": 307.5
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#682C93
secondary
#86B863
accent
#DD4A88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C93

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

Preview Lab → · Contrast checker → · Palette generator →

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