#682491#682491

#682491 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.172 H 309.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#682491
RGBrgb(104, 36, 145)
HSLhsl(277, 60%, 35%)
HSVhsv(277, 75%, 57%)
CMYKcmyk(28.3%, 75.2%, 0%, 43.1%)
CIE-LABlab(30.03, 48.52, -46.88)
CIE-LCHlch(30.03, 67.47, 315.99°)
OKLaboklab(41.85% 0.1085 -0.1329)
OKLCHoklch(41.85% 0.172 309.2)
XYZxyz(11.4496, 6.2494, 27.3857)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682491 #4D9124
analogous
#312491 #682491 #912483
triadic
#682491 #916824 #249168
tetradic
#682491 #913124 #4D9124 #248391
square
#682491 #913124 #4D9124 #248391
split-complementary
#682491 #839124 #249131
monochromatic
#220C2F #451860 #682491 #8B30C2 #A759D6

Accessibility & contrast

On white

9.33
#682491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682491
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682491#FFFFFF#000000##FFFFFF
##6824911.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682491;
/* rgb */ color: rgb(104, 36, 145);
/* oklch */ color: oklch(41.9% 0.172 309.2);
Tailwind
colors: {
  custom: {
    50: '#9766b2',
    500: '#682491',
    950: '#000000',
  },
}
SCSS
$custom: #682491;
$custom-light: #9766b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682491",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 277.431,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41851,
    "c": 0.1716,
    "h": 309.2
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#682491
secondary
#7CBA56
accent
#E34480
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682491

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

Preview Lab → · Contrast checker → · Palette generator →

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