#682277#682277

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

Color values

HEX#682277
RGBrgb(104, 34, 119)
HSLhsl(289, 56%, 30%)
HSVhsv(289, 71%, 47%)
CMYKcmyk(12.6%, 71.4%, 0%, 53.3%)
CIE-LABlab(27.90, 43.72, -34.06)
CIE-LCHlch(27.90, 55.42, 322.08°)
OKLaboklab(39.75% 0.1137 -0.0953)
OKLCHoklch(39.75% 0.148 320)
XYZxyz(9.6103, 5.4195, 17.9890)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682277 #317722
analogous
#3E2277 #682277 #77225B
triadic
#682277 #776822 #227768
tetradic
#682277 #773E22 #317722 #225B77
square
#682277 #773E22 #317722 #225B77
split-complementary
#682277 #5B7722 #22773E
monochromatic
#150718 #3E1447 #682277 #9230A7 #B449CB

Accessibility & contrast

On white

10.08
#682277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682277
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682277#FFFFFF#000000##FFFFFF
##6822771.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#294475
Tritanopia (blue-blind)
#68314A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #682277;
/* rgb */ color: rgb(104, 34, 119);
/* oklch */ color: oklch(39.7% 0.148 320.0);
Tailwind
colors: {
  custom: {
    50: '#96649f',
    500: '#682277',
    950: '#000000',
  },
}
SCSS
$custom: #682277;
$custom-light: #96649f;
$custom-dark: #000000;
JSON
{
  "hex": "#682277",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 289.412,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.14834,
    "h": 320
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#682277
secondary
#5CAA4B
accent
#DF4963
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682277

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

Preview Lab → · Contrast checker → · Palette generator →

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