#682B9E#682B9E

#682B9E is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.177 H 304.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#682B9E
RGBrgb(104, 43, 158)
HSLhsl(272, 57%, 39%)
HSVhsv(272, 73%, 62%)
CMYKcmyk(34.2%, 72.8%, 0%, 38%)
CIE-LABlab(32.12, 48.48, -51.44)
CIE-LCHlch(32.12, 70.68, 313.31°)
OKLaboklab(43.64% 0.0991 -0.1464)
OKLCHoklch(43.64% 0.177 304.1)
XYZxyz(12.7429, 7.1395, 33.0478)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682B9E #619E2B
analogous
#2F2B9E #682B9E #9E2B9B
triadic
#682B9E #9E682B #2B9E68
tetradic
#682B9E #9E2F2B #619E2B #2B9B9E
square
#682B9E #9E2F2B #619E2B #2B9B9E
split-complementary
#682B9E #9B9E2B #2B9E2F
monochromatic
#29113E #481E6E #682B9E #873CCA #A56CD7

Accessibility & contrast

On white

8.65
#682B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#682B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682B9E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682B9E#FFFFFF#000000##FFFFFF
##682B9E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#5E4662
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682b9e;
/* rgb */ color: rgb(104, 43, 158);
/* oklch */ color: oklch(43.6% 0.177 304.1);
Tailwind
colors: {
  custom: {
    50: '#986abb',
    500: '#682b9e',
    950: '#000000',
  },
}
SCSS
$custom: #682b9e;
$custom-light: #986abb;
$custom-dark: #000000;
JSON
{
  "hex": "#682b9e",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 271.826,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.17676,
    "h": 304.1
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#682B9E
secondary
#90BE67
accent
#E0478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #682B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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