#682193#682193

#682193 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.177 H 308.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#682193
RGBrgb(104, 33, 147)
HSLhsl(277, 63%, 35%)
HSVhsv(277, 78%, 58%)
CMYKcmyk(29.3%, 77.6%, 0%, 42.4%)
CIE-LABlab(29.76, 50.20, -48.56)
CIE-LCHlch(29.76, 69.84, 315.95°)
OKLaboklab(41.7% 0.111 -0.1378)
OKLCHoklch(41.7% 0.177 308.9)
XYZxyz(11.5182, 6.1376, 28.1760)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682193 #4C9321
analogous
#2F2193 #682193 #932185
triadic
#682193 #936821 #219368
tetradic
#682193 #932F21 #4C9321 #218593
square
#682193 #932F21 #4C9321 #218593
split-complementary
#682193 #859321 #21932F
monochromatic
#210B2F #451661 #682193 #8B2CC5 #A755D9

Accessibility & contrast

On white

9.43
#682193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682193
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682193#FFFFFF#000000##FFFFFF
##6821931.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#613D59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682193;
/* rgb */ color: rgb(104, 33, 147);
/* oklch */ color: oklch(41.7% 0.177 308.9);
Tailwind
colors: {
  custom: {
    50: '#9864b3',
    500: '#682193',
    950: '#000000',
  },
}
SCSS
$custom: #682193;
$custom-light: #9864b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682193",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 277.368,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41704,
    "c": 0.17699,
    "h": 308.9
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#682193
secondary
#7BBD53
accent
#E64180
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682193

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

Preview Lab → · Contrast checker → · Palette generator →

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