#682191#682191

#682191 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.175 H 309.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#682191
RGBrgb(104, 33, 145)
HSLhsl(278, 63%, 35%)
HSVhsv(278, 77%, 57%)
CMYKcmyk(28.3%, 77.2%, 0%, 43.1%)
CIE-LABlab(29.60, 49.75, -47.58)
CIE-LCHlch(29.60, 68.84, 316.28°)
OKLaboklab(41.55% 0.1114 -0.1349)
OKLCHoklch(41.55% 0.175 309.5)
XYZxyz(11.3626, 6.0753, 27.3567)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682191 #4A9121
analogous
#302191 #682191 #912182
triadic
#682191 #916821 #219168
tetradic
#682191 #913021 #4A9121 #218291
square
#682191 #913021 #4A9121 #218291
split-complementary
#682191 #829121 #219130
monochromatic
#200A2D #44165F #682191 #8C2CC3 #A854D8

Accessibility & contrast

On white

9.48
#682191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682191
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682191#FFFFFF#000000##FFFFFF
##6821911.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#623C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682191;
/* rgb */ color: rgb(104, 33, 145);
/* oklch */ color: oklch(41.5% 0.175 309.5);
Tailwind
colors: {
  custom: {
    50: '#9864b2',
    500: '#682191',
    950: '#000000',
  },
}
SCSS
$custom: #682191;
$custom-light: #9864b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682191",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 278.036,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.17502,
    "h": 309.5
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#682191
secondary
#79BC52
accent
#E6427E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682191

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

Preview Lab → · Contrast checker → · Palette generator →

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