#68186B#68186B

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

Color values

HEX#68186B
RGBrgb(104, 24, 107)
HSLhsl(298, 63%, 26%)
HSVhsv(298, 78%, 42%)
CMYKcmyk(2.8%, 77.6%, 0%, 58%)
CIE-LABlab(25.74, 45.33, -29.81)
CIE-LCHlch(25.74, 54.26, 326.67°)
OKLaboklab(37.96% 0.1249 -0.0828)
OKLCHoklch(37.96% 0.15 326.5)
XYZxyz(8.6892, 4.6585, 14.3486)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68186B #1B6B18
analogous
#3E186B #68186B #6B1844
triadic
#68186B #6B6818 #186B68
tetradic
#68186B #6B3E18 #1B6B18 #18446B
square
#68186B #6B3E18 #1B6B18 #18446B
split-complementary
#68186B #446B18 #186B3E
monochromatic
#180619 #370D39 #68186B #99239D #C92ECF

Accessibility & contrast

On white

10.87
#68186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#68186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68186B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68186B#FFFFFF#000000##FFFFFF
##68186B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02376D
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#6B2640
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68186b;
/* rgb */ color: rgb(104, 24, 107);
/* oklch */ color: oklch(38.0% 0.150 326.5);
Tailwind
colors: {
  custom: {
    50: '#965f96',
    500: '#68186b',
    950: '#000000',
  },
}
SCSS
$custom: #68186b;
$custom-light: #965f96;
$custom-dark: #000000;
JSON
{
  "hex": "#68186b",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 297.831,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.14988,
    "h": 326.5
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#68186B
secondary
#42A13E
accent
#E64147
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68186B

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

Preview Lab → · Contrast checker → · Palette generator →

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