#682596#682596

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

Color values

HEX#682596
RGBrgb(104, 37, 150)
HSLhsl(276, 60%, 37%)
HSVhsv(276, 75%, 59%)
CMYKcmyk(30.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(30.56, 49.24, -49.09)
CIE-LCHlch(30.56, 69.53, 315.09°)
OKLaboklab(42.35% 0.1066 -0.1394)
OKLCHoklch(42.35% 0.176 307.4)
XYZxyz(11.8743, 6.4684, 29.4712)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682596 #539625
analogous
#2F2596 #682596 #96258C
triadic
#682596 #966825 #259668
tetradic
#682596 #962F25 #539625 #258C96
square
#682596 #962F25 #539625 #258C96
split-complementary
#682596 #8C9625 #25962F
monochromatic
#240D34 #461965 #682596 #8A31C7 #A65ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682596#FFFFFF#000000##FFFFFF
##6825961.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)
#004699
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#60405C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682596;
/* rgb */ color: rgb(104, 37, 150);
/* oklch */ color: oklch(42.3% 0.176 307.4);
Tailwind
colors: {
  custom: {
    50: '#9867b6',
    500: '#682596',
    950: '#000000',
  },
}
SCSS
$custom: #682596;
$custom-light: #9867b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682596",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 275.575,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.17552,
    "h": 307.4
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#682596
secondary
#82BC5B
accent
#E44485
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682596

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

Preview Lab → · Contrast checker → · Palette generator →

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