#682391#682391

#682391 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.173 H 309.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#682391
RGBrgb(104, 35, 145)
HSLhsl(278, 61%, 35%)
HSVhsv(278, 76%, 57%)
CMYKcmyk(28.3%, 75.9%, 0%, 43.1%)
CIE-LABlab(29.89, 48.94, -47.12)
CIE-LCHlch(29.89, 67.93, 316.09°)
OKLaboklab(41.75% 0.1095 -0.1336)
OKLCHoklch(41.75% 0.173 309.3)
XYZxyz(11.4198, 6.1897, 27.3757)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682391 #4C9123
analogous
#312391 #682391 #912383
triadic
#682391 #916823 #239168
tetradic
#682391 #913123 #4C9123 #238391
square
#682391 #913123 #4C9123 #238391
split-complementary
#682391 #839123 #239131
monochromatic
#210B2E #451760 #682391 #8B2FC2 #A758D7

Accessibility & contrast

On white

9.38
#682391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682391
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682391#FFFFFF#000000##FFFFFF
##6823911.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#03478F
Tritanopia (blue-blind)
#623D58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682391;
/* rgb */ color: rgb(104, 35, 145);
/* oklch */ color: oklch(41.7% 0.173 309.3);
Tailwind
colors: {
  custom: {
    50: '#9765b2',
    500: '#682391',
    950: '#000000',
  },
}
SCSS
$custom: #682391;
$custom-light: #9765b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682391",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 277.636,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.17276,
    "h": 309.3
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#682391
secondary
#7BBB55
accent
#E4447F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682391

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

Preview Lab → · Contrast checker → · Palette generator →

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