#682490#682490

#682490 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.171 H 309.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#682490
RGBrgb(104, 36, 144)
HSLhsl(278, 60%, 35%)
HSVhsv(278, 75%, 56%)
CMYKcmyk(27.8%, 75%, 0%, 43.5%)
CIE-LABlab(29.96, 48.29, -46.38)
CIE-LCHlch(29.96, 66.96, 316.15°)
OKLaboklab(41.77% 0.1087 -0.1315)
OKLCHoklch(41.77% 0.171 309.6)
XYZxyz(11.3728, 6.2187, 26.9814)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682490 #4C9024
analogous
#322490 #682490 #902482
triadic
#682490 #906824 #249068
tetradic
#682490 #903224 #4C9024 #248290
square
#682490 #903224 #4C9024 #248290
split-complementary
#682490 #829024 #249032
monochromatic
#210C2E #45185F #682490 #8B30C1 #A759D5

Accessibility & contrast

On white

9.36
#682490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682490
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682490#FFFFFF#000000##FFFFFF
##6824901.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#08478E
Tritanopia (blue-blind)
#623D58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682490;
/* rgb */ color: rgb(104, 36, 144);
/* oklch */ color: oklch(41.8% 0.171 309.6);
Tailwind
colors: {
  custom: {
    50: '#9766b1',
    500: '#682490',
    950: '#000000',
  },
}
SCSS
$custom: #682490;
$custom-light: #9766b1;
$custom-dark: #000000;
JSON
{
  "hex": "#682490",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 277.778,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.17059,
    "h": 309.6
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#682490
secondary
#7BBA56
accent
#E3457F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682490

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

Preview Lab → · Contrast checker → · Palette generator →

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