#682496#682496

#682496 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.177 H 307.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#682496
RGBrgb(104, 36, 150)
HSLhsl(276, 61%, 36%)
HSVhsv(276, 76%, 59%)
CMYKcmyk(30.7%, 76%, 0%, 41.2%)
CIE-LABlab(30.42, 49.67, -49.33)
CIE-LCHlch(30.42, 70.00, 315.19°)
OKLaboklab(42.24% 0.1076 -0.1401)
OKLCHoklch(42.24% 0.177 307.5)
XYZxyz(11.8436, 6.4070, 29.4610)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682496 #529624
analogous
#2F2496 #682496 #96248B
triadic
#682496 #966824 #249668
tetradic
#682496 #962F24 #529624 #248B96
square
#682496 #962F24 #529624 #248B96
split-complementary
#682496 #8B9624 #24962F
monochromatic
#240C33 #461865 #682496 #8A30C7 #A65CD8

Accessibility & contrast

On white

9.20
#682496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#682496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682496
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682496#FFFFFF#000000##FFFFFF
##6824961.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#60405B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682496;
/* rgb */ color: rgb(104, 36, 150);
/* oklch */ color: oklch(42.2% 0.177 307.5);
Tailwind
colors: {
  custom: {
    50: '#9866b6',
    500: '#682496',
    950: '#000000',
  },
}
SCSS
$custom: #682496;
$custom-light: #9866b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682496",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 275.789,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.17666,
    "h": 307.5
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#682496
secondary
#81BD59
accent
#E44384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682496

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

Preview Lab → · Contrast checker → · Palette generator →

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