#68186C#68186C

#68186C is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.151 H 325.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#68186C
RGBrgb(104, 24, 108)
HSLhsl(297, 64%, 26%)
HSVhsv(297, 78%, 42%)
CMYKcmyk(3.7%, 77.8%, 0%, 57.6%)
CIE-LABlab(25.80, 45.52, -30.36)
CIE-LCHlch(25.80, 54.71, 326.30°)
OKLaboklab(38.02% 0.1249 -0.0844)
OKLCHoklch(38.02% 0.151 325.9)
XYZxyz(8.7421, 4.6796, 14.6273)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68186C #1C6C18
analogous
#3E186C #68186C #6C1846
triadic
#68186C #6C6818 #186C68
tetradic
#68186C #6C3E18 #1C6C18 #18466C
square
#68186C #6C3E18 #1C6C18 #18466C
split-complementary
#68186C #466C18 #186C3E
monochromatic
#180619 #380D3A #68186C #98239E #C82ED0

Accessibility & contrast

On white

10.85
#68186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#68186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68186C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68186C#FFFFFF#000000##FFFFFF
##68186C1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376E
Deuteranopia (green-blind)
#2B406A
Tritanopia (blue-blind)
#6B2641
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68186c;
/* rgb */ color: rgb(104, 24, 108);
/* oklch */ color: oklch(38.0% 0.151 325.9);
Tailwind
colors: {
  custom: {
    50: '#965f96',
    500: '#68186c',
    950: '#000000',
  },
}
SCSS
$custom: #68186c;
$custom-light: #965f96;
$custom-dark: #000000;
JSON
{
  "hex": "#68186c",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 297.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.15074,
    "h": 325.9
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#68186C
secondary
#43A23E
accent
#E74149
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68186C

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

Preview Lab → · Contrast checker → · Palette generator →

#68186C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva