#682276#682276

#682276 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.147 H 320.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#682276
RGBrgb(104, 34, 118)
HSLhsl(290, 55%, 30%)
HSVhsv(290, 71%, 46%)
CMYKcmyk(11.9%, 71.2%, 0%, 53.7%)
CIE-LABlab(27.83, 43.52, -33.53)
CIE-LCHlch(27.83, 54.93, 322.39°)
OKLaboklab(39.68% 0.1137 -0.0937)
OKLCHoklch(39.68% 0.147 320.5)
XYZxyz(9.5506, 5.3956, 17.6744)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682276 #307622
analogous
#3E2276 #682276 #76225A
triadic
#682276 #766822 #227668
tetradic
#682276 #763E22 #307622 #225A76
square
#682276 #763E22 #307622 #225A76
split-complementary
#682276 #5A7622 #22763E
monochromatic
#150718 #3E1446 #682276 #9230A6 #B548CA

Accessibility & contrast

On white

10.10
#682276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#682276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682276
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682276#FFFFFF#000000##FFFFFF
##6822761.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#2A4474
Tritanopia (blue-blind)
#693149
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #682276;
/* rgb */ color: rgb(104, 34, 118);
/* oklch */ color: oklch(39.7% 0.147 320.5);
Tailwind
colors: {
  custom: {
    50: '#96649e',
    500: '#682276',
    950: '#000000',
  },
}
SCSS
$custom: #682276;
$custom-light: #96649e;
$custom-dark: #000000;
JSON
{
  "hex": "#682276",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 290,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39681,
    "c": 0.14738,
    "h": 320.5
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#682276
secondary
#5AA94B
accent
#DF4962
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682276

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

Preview Lab → · Contrast checker → · Palette generator →

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