#682792#682792

#682792 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.169 H 308.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#682792
RGBrgb(104, 39, 146)
HSLhsl(276, 58%, 36%)
HSVhsv(276, 73%, 57%)
CMYKcmyk(28.8%, 73.3%, 0%, 42.7%)
CIE-LABlab(30.57, 47.45, -46.63)
CIE-LCHlch(30.57, 66.52, 315.50°)
OKLaboklab(42.25% 0.1053 -0.1322)
OKLCHoklch(42.25% 0.169 308.5)
XYZxyz(11.6217, 6.4696, 27.8251)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682792 #519227
analogous
#332792 #682792 #922787
triadic
#682792 #926827 #279268
tetradic
#682792 #923327 #519227 #278792
square
#682792 #923327 #519227 #278792
split-complementary
#682792 #879227 #279233
monochromatic
#230D31 #461A62 #682792 #8A34C2 #A65FD4

Accessibility & contrast

On white

9.16
#682792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682792
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682792#FFFFFF#000000##FFFFFF
##6827921.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#623F5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682792;
/* rgb */ color: rgb(104, 39, 146);
/* oklch */ color: oklch(42.3% 0.169 308.5);
Tailwind
colors: {
  custom: {
    50: '#9767b3',
    500: '#682792',
    950: '#000000',
  },
}
SCSS
$custom: #682792;
$custom-light: #9767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682792",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 276.449,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.16901,
    "h": 308.5
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#682792
secondary
#80BA5B
accent
#E14783
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682792

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

Preview Lab → · Contrast checker → · Palette generator →

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