#682296#682296

#682296 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.179 H 307.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#682296
RGBrgb(104, 34, 150)
HSLhsl(276, 63%, 36%)
HSVhsv(276, 77%, 59%)
CMYKcmyk(30.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(30.13, 50.48, -49.79)
CIE-LCHlch(30.13, 70.91, 315.39°)
OKLaboklab(42.04% 0.1095 -0.1415)
OKLCHoklch(42.04% 0.179 307.7)
XYZxyz(11.7848, 6.2893, 29.4414)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682296 #509622
analogous
#2E2296 #682296 #96228A
triadic
#682296 #966822 #229668
tetradic
#682296 #962E22 #509622 #228A96
square
#682296 #962E22 #509622 #228A96
split-complementary
#682296 #8A9622 #22962E
monochromatic
#230B32 #451764 #682296 #8B2DC8 #A659D9

Accessibility & contrast

On white

9.30
#682296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682296
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682296#FFFFFF#000000##FFFFFF
##6822961.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.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: #682296;
/* rgb */ color: rgb(104, 34, 150);
/* oklch */ color: oklch(42.0% 0.179 307.7);
Tailwind
colors: {
  custom: {
    50: '#9865b6',
    500: '#682296',
    950: '#000000',
  },
}
SCSS
$custom: #682296;
$custom-light: #9865b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682296",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 276.207,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42041,
    "c": 0.17888,
    "h": 307.7
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#682296
secondary
#7FBE56
accent
#E64283
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682296

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

Preview Lab → · Contrast checker → · Palette generator →

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