#682F74#682F74

#682F74 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.2% C 0.126 H 320.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#682F74
RGBrgb(104, 47, 116)
HSLhsl(290, 42%, 32%)
HSVhsv(290, 59%, 45%)
CMYKcmyk(10.3%, 59.5%, 0%, 54.5%)
CIE-LABlab(30.00, 36.78, -28.80)
CIE-LCHlch(30.00, 46.72, 321.93°)
OKLaboklab(41.21% 0.0967 -0.0801)
OKLCHoklch(41.21% 0.126 320.4)
XYZxyz(9.8774, 6.2375, 17.2033)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F74 #3B742F
analogous
#462F74 #682F74 #742F5E
triadic
#682F74 #74682F #2F7468
tetradic
#682F74 #74462F #3B742F #2F5E74
square
#682F74 #74462F #3B742F #2F5E74
split-complementary
#682F74 #5E742F #2F7446
monochromatic
#1A0C1D #411D48 #682F74 #8F41A0 #AE5FBE

Accessibility & contrast

On white

9.34
#682F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F74
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F74#FFFFFF#000000##FFFFFF
##682F741.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#354972
Tritanopia (blue-blind)
#69394D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682f74;
/* rgb */ color: rgb(104, 47, 116);
/* oklch */ color: oklch(41.2% 0.126 320.4);
Tailwind
colors: {
  custom: {
    50: '#956b9c',
    500: '#682f74',
    950: '#000000',
  },
}
SCSS
$custom: #682f74;
$custom-light: #956b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#682f74",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 289.565,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.12558,
    "h": 320.4
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#682F74
secondary
#67A55A
accent
#D2566B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #682F74

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

Preview Lab → · Contrast checker → · Palette generator →

#682F74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva