#682C7E#682C7E

#682C7E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.141 H 315.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#682C7E
RGBrgb(104, 44, 126)
HSLhsl(284, 48%, 33%)
HSVhsv(284, 65%, 49%)
CMYKcmyk(17.5%, 65.1%, 0%, 50.6%)
CIE-LABlab(30.04, 40.52, -35.06)
CIE-LCHlch(30.04, 53.58, 319.13°)
OKLaboklab(41.43% 0.1012 -0.0983)
OKLCHoklch(41.43% 0.141 315.8)
XYZxyz(10.3749, 6.2511, 20.3947)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C7E #427E2C
analogous
#3F2C7E #682C7E #7E2C6B
triadic
#682C7E #7E682C #2C7E68
tetradic
#682C7E #7E3F2C #427E2C #2C6B7E
square
#682C7E #7E3F2C #427E2C #2C6B7E
split-complementary
#682C7E #6B7E2C #2C7E3F
monochromatic
#1D0C23 #431C51 #682C7E #8D3CAB #AB5EC7

Accessibility & contrast

On white

9.33
#682C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C7E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C7E#FFFFFF#000000##FFFFFF
##682C7E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4381
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#673B51
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682c7e;
/* rgb */ color: rgb(104, 44, 126);
/* oklch */ color: oklch(41.4% 0.141 315.8);
Tailwind
colors: {
  custom: {
    50: '#9669a4',
    500: '#682c7e',
    950: '#000000',
  },
}
SCSS
$custom: #682c7e;
$custom-light: #9669a4;
$custom-dark: #000000;
JSON
{
  "hex": "#682c7e",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 283.902,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.14105,
    "h": 315.8
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#682C7E
secondary
#6FAD59
accent
#D85074
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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