#682074#682074

#682074 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.148 H 321.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#682074
RGBrgb(104, 32, 116)
HSLhsl(291, 57%, 29%)
HSVhsv(291, 72%, 45%)
CMYKcmyk(10.3%, 72.4%, 0%, 54.5%)
CIE-LABlab(27.40, 43.97, -32.94)
CIE-LCHlch(27.40, 54.94, 323.16°)
OKLaboklab(39.33% 0.1161 -0.092)
OKLCHoklch(39.33% 0.148 321.6)
XYZxyz(9.3775, 5.2375, 17.0366)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682074 #2C7420
analogous
#3E2074 #682074 #742056
triadic
#682074 #746820 #207468
tetradic
#682074 #743E20 #2C7420 #205674
square
#682074 #743E20 #2C7420 #205674
split-complementary
#682074 #567420 #20743E
monochromatic
#160718 #3D1344 #682074 #932DA4 #B843CB

Accessibility & contrast

On white

10.26
#682074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#682074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682074
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682074#FFFFFF#000000##FFFFFF
##6820741.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C76
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#692F47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #682074;
/* rgb */ color: rgb(104, 32, 116);
/* oklch */ color: oklch(39.3% 0.148 321.6);
Tailwind
colors: {
  custom: {
    50: '#96639c',
    500: '#682074',
    950: '#000000',
  },
}
SCSS
$custom: #682074;
$custom-light: #96639c;
$custom-dark: #000000;
JSON
{
  "hex": "#682074",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 291.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39329,
    "c": 0.14814,
    "h": 321.6
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#682074
secondary
#56A848
accent
#E0485E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #682074

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

Preview Lab → · Contrast checker → · Palette generator →

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