#682C8E#682C8E

#682C8E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.158 H 309.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#682C8E
RGBrgb(104, 44, 142)
HSLhsl(277, 53%, 36%)
HSVhsv(277, 69%, 56%)
CMYKcmyk(26.8%, 69%, 0%, 44.3%)
CIE-LABlab(31.11, 44.18, -43.29)
CIE-LCHlch(31.11, 61.86, 315.58°)
OKLaboklab(42.55% 0.1003 -0.1224)
OKLCHoklch(42.55% 0.158 309.3)
XYZxyz(11.4911, 6.6976, 26.2734)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C8E #528E2C
analogous
#372C8E #682C8E #8E2C83
triadic
#682C8E #8E682C #2C8E68
tetradic
#682C8E #8E372C #528E2C #2C838E
square
#682C8E #8E372C #528E2C #2C838E
split-complementary
#682C8E #838E2C #2C8E37
monochromatic
#240F31 #461E5F #682C8E #8A3ABD #A665CF

Accessibility & contrast

On white

8.98
#682C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#682C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C8E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C8E#FFFFFF#000000##FFFFFF
##682C8E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#634159
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682c8e;
/* rgb */ color: rgb(104, 44, 142);
/* oklch */ color: oklch(42.5% 0.158 309.3);
Tailwind
colors: {
  custom: {
    50: '#976ab0',
    500: '#682c8e',
    950: '#000000',
  },
}
SCSS
$custom: #682c8e;
$custom-light: #976ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#682c8e",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 276.735,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.15826,
    "h": 309.3
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#682C8E
secondary
#81B660
accent
#DC4C84
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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