#682392#682392

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

Color values

HEX#682392
RGBrgb(104, 35, 146)
HSLhsl(277, 61%, 35%)
HSVhsv(277, 76%, 57%)
CMYKcmyk(28.8%, 76%, 0%, 42.7%)
CIE-LABlab(29.96, 49.16, -47.61)
CIE-LCHlch(29.96, 68.44, 315.92°)
OKLaboklab(41.83% 0.1093 -0.135)
OKLCHoklch(41.83% 0.174 309)
XYZxyz(11.4972, 6.2207, 27.7836)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682392 #4D9223
analogous
#302392 #682392 #922384
triadic
#682392 #926823 #239268
tetradic
#682392 #923023 #4D9223 #238492
square
#682392 #923023 #4D9223 #238492
split-complementary
#682392 #849223 #239230
monochromatic
#220B2F #451761 #682392 #8B2FC3 #A758D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682392#FFFFFF#000000##FFFFFF
##6823921.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)
#004495
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#623D59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682392;
/* rgb */ color: rgb(104, 35, 146);
/* oklch */ color: oklch(41.8% 0.174 309.0);
Tailwind
colors: {
  custom: {
    50: '#9765b3',
    500: '#682392',
    950: '#000000',
  },
}
SCSS
$custom: #682392;
$custom-light: #9765b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682392",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 277.297,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.17376,
    "h": 309
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#682392
secondary
#7CBB55
accent
#E44380
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682392

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

Preview Lab → · Contrast checker → · Palette generator →

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