#682492#682492

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

Color values

HEX#682492
RGBrgb(104, 36, 146)
HSLhsl(277, 60%, 36%)
HSVhsv(277, 75%, 57%)
CMYKcmyk(28.8%, 75.3%, 0%, 42.7%)
CIE-LABlab(30.11, 48.75, -47.37)
CIE-LCHlch(30.11, 67.97, 315.82°)
OKLaboklab(41.93% 0.1084 -0.1344)
OKLCHoklch(41.93% 0.173 308.9)
XYZxyz(11.5270, 6.2803, 27.7935)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682492 #4E9224
analogous
#312492 #682492 #922485
triadic
#682492 #926824 #249268
tetradic
#682492 #923124 #4E9224 #248592
square
#682492 #923124 #4E9224 #248592
split-complementary
#682492 #859224 #249231
monochromatic
#220C30 #451861 #682492 #8B30C3 #A75AD6

Accessibility & contrast

On white

9.31
#682492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682492
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682492#FFFFFF#000000##FFFFFF
##6824921.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#024890
Tritanopia (blue-blind)
#623E59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682492;
/* rgb */ color: rgb(104, 36, 146);
/* oklch */ color: oklch(41.9% 0.173 308.9);
Tailwind
colors: {
  custom: {
    50: '#9766b3',
    500: '#682492',
    950: '#000000',
  },
}
SCSS
$custom: #682492;
$custom-light: #9766b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682492",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 277.091,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.1726,
    "h": 308.9
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#682492
secondary
#7DBB57
accent
#E44481
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682492

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

Preview Lab → · Contrast checker → · Palette generator →

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