#682591#682591

#682591 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.170 H 309.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#682591
RGBrgb(104, 37, 145)
HSLhsl(277, 59%, 36%)
HSVhsv(277, 74%, 57%)
CMYKcmyk(28.3%, 74.5%, 0%, 43.1%)
CIE-LABlab(30.18, 48.09, -46.64)
CIE-LCHlch(30.18, 66.99, 315.88°)
OKLaboklab(41.96% 0.1075 -0.1322)
OKLCHoklch(41.96% 0.17 309.1)
XYZxyz(11.4803, 6.3107, 27.3959)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682591 #4E9125
analogous
#322591 #682591 #912584
triadic
#682591 #916825 #259168
tetradic
#682591 #913225 #4E9125 #258491
square
#682591 #913225 #4E9125 #258491
split-complementary
#682591 #849125 #259132
monochromatic
#220C2F #451960 #682591 #8B31C2 #A75BD5

Accessibility & contrast

On white

9.28
#682591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682591
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682591#FFFFFF#000000##FFFFFF
##6825911.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#07488F
Tritanopia (blue-blind)
#623E59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682591;
/* rgb */ color: rgb(104, 37, 145);
/* oklch */ color: oklch(42.0% 0.170 309.1);
Tailwind
colors: {
  custom: {
    50: '#9766b2',
    500: '#682591',
    950: '#000000',
  },
}
SCSS
$custom: #682591;
$custom-light: #9766b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682591",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 277.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.17042,
    "h": 309.1
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#682591
secondary
#7DBA58
accent
#E34581
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682591

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

Preview Lab → · Contrast checker → · Palette generator →

#682591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva