#682B8D#682B8D

#682B8D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.159 H 309.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#682B8D
RGBrgb(104, 43, 141)
HSLhsl(277, 53%, 36%)
HSVhsv(277, 70%, 55%)
CMYKcmyk(26.2%, 69.5%, 0%, 44.7%)
CIE-LABlab(30.86, 44.43, -43.07)
CIE-LCHlch(30.86, 61.88, 315.89°)
OKLaboklab(42.35% 0.1015 -0.1218)
OKLCHoklch(42.35% 0.159 309.8)
XYZxyz(11.3796, 6.5941, 25.8675)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682B8D #508D2B
analogous
#372B8D #682B8D #8D2B81
triadic
#682B8D #8D682B #2B8D68
tetradic
#682B8D #8D372B #508D2B #2B818D
square
#682B8D #8D372B #508D2B #2B818D
split-complementary
#682B8D #818D2B #2B8D37
monochromatic
#230E2F #451D5E #682B8D #8B39BC #A663CF

Accessibility & contrast

On white

9.06
#682B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#682B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682B8D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682B8D#FFFFFF#000000##FFFFFF
##682B8D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#1B4A8B
Tritanopia (blue-blind)
#634058
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682b8d;
/* rgb */ color: rgb(104, 43, 141);
/* oklch */ color: oklch(42.4% 0.159 309.8);
Tailwind
colors: {
  custom: {
    50: '#9769af',
    500: '#682b8d',
    950: '#000000',
  },
}
SCSS
$custom: #682b8d;
$custom-light: #9769af;
$custom-dark: #000000;
JSON
{
  "hex": "#682b8d",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 277.347,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.15854,
    "h": 309.8
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#682B8D
secondary
#7FB65E
accent
#DD4B82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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