#682168#682168

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

Color values

HEX#682168
RGBrgb(104, 33, 104)
HSLhsl(300, 52%, 27%)
HSVhsv(300, 68%, 41%)
CMYKcmyk(0%, 68.3%, 0%, 59.2%)
CIE-LABlab(26.82, 41.20, -26.15)
CIE-LCHlch(26.82, 48.80, 327.59°)
OKLaboklab(38.68% 0.1148 -0.0723)
OKLCHoklch(38.68% 0.136 327.8)
XYZxyz(8.7513, 5.0308, 13.6041)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682168 #216821
analogous
#452168 #682168 #682145
triadic
#682168 #686821 #216868
tetradic
#682168 #684521 #216821 #214568
square
#682168 #684521 #216821 #214568
split-complementary
#682168 #456821 #216845
monochromatic
#170717 #3A123A #682168 #963096 #C341C3

Accessibility & contrast

On white

10.47
#682168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#682168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682168
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682168#FFFFFF#000000##FFFFFF
##6821681.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17396A
Deuteranopia (green-blind)
#324366
Tritanopia (blue-blind)
#6B2B41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #682168;
/* rgb */ color: rgb(104, 33, 104);
/* oklch */ color: oklch(38.7% 0.136 327.8);
Tailwind
colors: {
  custom: {
    50: '#966393',
    500: '#682168',
    950: '#000000',
  },
}
SCSS
$custom: #682168;
$custom-light: #966393;
$custom-dark: #000000;
JSON
{
  "hex": "#682168",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 300,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.13568,
    "h": 327.8
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#682168
secondary
#499C49
accent
#DB4D4D
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #682168

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

Preview Lab → · Contrast checker → · Palette generator →

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