#682F7E#682F7E

#682F7E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.8% C 0.136 H 315.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#682F7E
RGBrgb(104, 47, 126)
HSLhsl(283, 46%, 34%)
HSVhsv(283, 63%, 49%)
CMYKcmyk(17.5%, 62.7%, 0%, 50.6%)
CIE-LABlab(30.60, 38.98, -34.16)
CIE-LCHlch(30.60, 51.83, 318.77°)
OKLaboklab(41.84% 0.0972 -0.0957)
OKLCHoklch(41.84% 0.136 315.4)
XYZxyz(10.4907, 6.4828, 20.4333)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F7E #457E2F
analogous
#412F7E #682F7E #7E2F6D
triadic
#682F7E #7E682F #2F7E68
tetradic
#682F7E #7E412F #457E2F #2F6D7E
square
#682F7E #7E412F #457E2F #2F6D7E
split-complementary
#682F7E #6D7E2F #2F7E41
monochromatic
#1E0E25 #431E51 #682F7E #8D40AB #A963C5

Accessibility & contrast

On white

9.14
#682F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#682F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F7E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F7E#FFFFFF#000000##FFFFFF
##682F7E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164580
Deuteranopia (green-blind)
#2E4A7C
Tritanopia (blue-blind)
#673D52
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682f7e;
/* rgb */ color: rgb(104, 47, 126);
/* oklch */ color: oklch(41.8% 0.136 315.4);
Tailwind
colors: {
  custom: {
    50: '#966ba4',
    500: '#682f7e',
    950: '#000000',
  },
}
SCSS
$custom: #682f7e;
$custom-light: #966ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#682f7e",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 283.291,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.1364,
    "h": 315.4
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#682F7E
secondary
#73AC5D
accent
#D55277
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #682F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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