#682393#682393

#682393 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.175 H 308.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#682393
RGBrgb(104, 35, 147)
HSLhsl(277, 62%, 36%)
HSVhsv(277, 76%, 58%)
CMYKcmyk(29.3%, 76.2%, 0%, 42.4%)
CIE-LABlab(30.04, 49.39, -48.10)
CIE-LCHlch(30.04, 68.94, 315.76°)
OKLaboklab(41.9% 0.1091 -0.1365)
OKLCHoklch(41.9% 0.175 308.6)
XYZxyz(11.5753, 6.2519, 28.1951)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682393 #4E9323
analogous
#302393 #682393 #932386
triadic
#682393 #936823 #239368
tetradic
#682393 #933023 #4E9323 #238693
square
#682393 #933023 #4E9323 #238693
split-complementary
#682393 #869323 #239330
monochromatic
#220B30 #451762 #682393 #8B2FC4 #A759D7

Accessibility & contrast

On white

9.33
#682393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682393
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682393#FFFFFF#000000##FFFFFF
##6823931.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#613E59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682393;
/* rgb */ color: rgb(104, 35, 147);
/* oklch */ color: oklch(41.9% 0.175 308.6);
Tailwind
colors: {
  custom: {
    50: '#9865b3',
    500: '#682393',
    950: '#000000',
  },
}
SCSS
$custom: #682393;
$custom-light: #9865b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682393",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 276.964,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41903,
    "c": 0.17477,
    "h": 308.6
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#682393
secondary
#7DBC56
accent
#E54381
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682393

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

Preview Lab → · Contrast checker → · Palette generator →

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