#682B91#682B91

#682B91 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.163 H 308.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#682B91
RGBrgb(104, 43, 145)
HSLhsl(276, 54%, 37%)
HSVhsv(276, 70%, 57%)
CMYKcmyk(28.3%, 70.3%, 0%, 43.1%)
CIE-LABlab(31.15, 45.37, -45.07)
CIE-LCHlch(31.15, 63.95, 315.19°)
OKLaboklab(42.65% 0.1011 -0.1277)
OKLCHoklch(42.65% 0.163 308.4)
XYZxyz(11.6826, 6.7153, 27.4633)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682B91 #54912B
analogous
#352B91 #682B91 #912B87
triadic
#682B91 #91682B #2B9168
tetradic
#682B91 #91352B #54912B #2B8791
square
#682B91 #91352B #54912B #2B8791
split-complementary
#682B91 #87912B #2B9135
monochromatic
#240F33 #461D62 #682B91 #8A39C0 #A665D1

Accessibility & contrast

On white

8.96
#682B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682B91
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682B91#FFFFFF#000000##FFFFFF
##682B911.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#144A8F
Tritanopia (blue-blind)
#62415A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682b91;
/* rgb */ color: rgb(104, 43, 145);
/* oklch */ color: oklch(42.6% 0.163 308.4);
Tailwind
colors: {
  custom: {
    50: '#9769b2',
    500: '#682b91',
    950: '#000000',
  },
}
SCSS
$custom: #682b91;
$custom-light: #9769b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682b91",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 275.882,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42645,
    "c": 0.16284,
    "h": 308.4
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#682B91
secondary
#83B860
accent
#DE4A85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682B91

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

Preview Lab → · Contrast checker → · Palette generator →

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