#682097#682097

#682097 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.182 H 307.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#682097
RGBrgb(104, 32, 151)
HSLhsl(276, 65%, 36%)
HSVhsv(276, 79%, 59%)
CMYKcmyk(31.1%, 78.8%, 0%, 40.8%)
CIE-LABlab(29.94, 51.50, -50.72)
CIE-LCHlch(29.94, 72.28, 315.44°)
OKLaboklab(41.93% 0.111 -0.1442)
OKLCHoklch(41.93% 0.182 307.6)
XYZxyz(11.8102, 6.2106, 29.8488)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682097 #4F9720
analogous
#2D2097 #682097 #97208A
triadic
#682097 #976820 #209768
tetradic
#682097 #972D20 #4F9720 #208A97
square
#682097 #972D20 #4F9720 #208A97
split-complementary
#682097 #8A9720 #20972D
monochromatic
#220B32 #451564 #682097 #8B2BC9 #A756DB

Accessibility & contrast

On white

9.37
#682097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682097
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682097#FFFFFF#000000##FFFFFF
##6820971.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#603E5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682097;
/* rgb */ color: rgb(104, 32, 151);
/* oklch */ color: oklch(41.9% 0.182 307.6);
Tailwind
colors: {
  custom: {
    50: '#9864b6',
    500: '#682097',
    950: '#000000',
  },
}
SCSS
$custom: #682097;
$custom-light: #9864b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682097",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 276.303,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.18198,
    "h": 307.6
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#682097
secondary
#7EBF54
accent
#E84082
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682097

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

Preview Lab → · Contrast checker → · Palette generator →

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