#682396#682396

#682396 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.178 H 307.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#682396
RGBrgb(104, 35, 150)
HSLhsl(276, 62%, 36%)
HSVhsv(276, 77%, 59%)
CMYKcmyk(30.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(30.27, 50.08, -49.56)
CIE-LCHlch(30.27, 70.46, 315.30°)
OKLaboklab(42.14% 0.1085 -0.1408)
OKLCHoklch(42.14% 0.178 307.6)
XYZxyz(11.8138, 6.3473, 29.4510)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682396 #519623
analogous
#2F2396 #682396 #96238B
triadic
#682396 #966823 #239668
tetradic
#682396 #962F23 #519623 #238B96
square
#682396 #962F23 #519623 #238B96
split-complementary
#682396 #8B9623 #23962F
monochromatic
#230C33 #461764 #682396 #8A2FC8 #A65BD9

Accessibility & contrast

On white

9.25
#682396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682396
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682396#FFFFFF#000000##FFFFFF
##6823961.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#603F5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682396;
/* rgb */ color: rgb(104, 35, 150);
/* oklch */ color: oklch(42.1% 0.178 307.6);
Tailwind
colors: {
  custom: {
    50: '#9866b6',
    500: '#682396',
    950: '#000000',
  },
}
SCSS
$custom: #682396;
$custom-light: #9866b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682396",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 276,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.17777,
    "h": 307.6
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#682396
secondary
#80BD58
accent
#E54384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682396

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

Preview Lab → · Contrast checker → · Palette generator →

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