#682593#682593

#682593 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.172 H 308.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#682593
RGBrgb(104, 37, 147)
HSLhsl(277, 60%, 36%)
HSVhsv(277, 75%, 58%)
CMYKcmyk(29.3%, 74.8%, 0%, 42.4%)
CIE-LABlab(30.33, 48.55, -47.62)
CIE-LCHlch(30.33, 68.01, 315.55°)
OKLaboklab(42.11% 0.1072 -0.1351)
OKLCHoklch(42.11% 0.172 308.4)
XYZxyz(11.6359, 6.3730, 28.2152)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682593 #509325
analogous
#312593 #682593 #932587
triadic
#682593 #936825 #259368
tetradic
#682593 #933125 #509325 #258793
square
#682593 #933125 #509325 #258793
split-complementary
#682593 #879325 #259331
monochromatic
#230C31 #451962 #682593 #8B31C4 #A65CD6

Accessibility & contrast

On white

9.23
#682593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682593
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682593#FFFFFF#000000##FFFFFF
##6825931.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#014891
Tritanopia (blue-blind)
#613F5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682593;
/* rgb */ color: rgb(104, 37, 147);
/* oklch */ color: oklch(42.1% 0.172 308.4);
Tailwind
colors: {
  custom: {
    50: '#9766b3',
    500: '#682593',
    950: '#000000',
  },
}
SCSS
$custom: #682593;
$custom-light: #9766b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682593",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 276.545,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.17245,
    "h": 308.4
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#682593
secondary
#7FBB59
accent
#E34583
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682593

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

Preview Lab → · Contrast checker → · Palette generator →

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