#682068#682068

#682068 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.6% C 0.137 H 327.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#682068
RGBrgb(104, 32, 104)
HSLhsl(300, 53%, 27%)
HSVhsv(300, 69%, 41%)
CMYKcmyk(0%, 69.2%, 0%, 59.2%)
CIE-LABlab(26.67, 41.63, -26.40)
CIE-LCHlch(26.67, 49.30, 327.62°)
OKLaboklab(38.56% 0.1161 -0.073)
OKLCHoklch(38.56% 0.137 327.8)
XYZxyz(8.7240, 4.9762, 13.5950)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682068 #206820
analogous
#442068 #682068 #682044
triadic
#682068 #686820 #206868
tetradic
#682068 #684420 #206820 #204468
square
#682068 #684420 #206820 #204468
split-complementary
#682068 #446820 #206844
monochromatic
#170717 #391239 #682068 #972E97 #C43FC4

Accessibility & contrast

On white

10.53
#682068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#682068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682068
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682068#FFFFFF#000000##FFFFFF
##6820681.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16396A
Deuteranopia (green-blind)
#324266
Tritanopia (blue-blind)
#6B2A41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #682068;
/* rgb */ color: rgb(104, 32, 104);
/* oklch */ color: oklch(38.6% 0.137 327.8);
Tailwind
colors: {
  custom: {
    50: '#966293',
    500: '#682068',
    950: '#000000',
  },
}
SCSS
$custom: #682068;
$custom-light: #966293;
$custom-dark: #000000;
JSON
{
  "hex": "#682068",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 300,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38564,
    "c": 0.13709,
    "h": 327.8
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#682068
secondary
#489C48
accent
#DC4B4B
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #682068

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

Preview Lab → · Contrast checker → · Palette generator →

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