#68166B#68166B

#68166B is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.152 H 326.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#68166B
RGBrgb(104, 22, 107)
HSLhsl(298, 66%, 25%)
HSVhsv(298, 79%, 42%)
CMYKcmyk(2.8%, 79.4%, 0%, 58%)
CIE-LABlab(25.50, 46.02, -30.19)
CIE-LCHlch(25.50, 55.04, 326.73°)
OKLaboklab(37.79% 0.1268 -0.0839)
OKLCHoklch(37.79% 0.152 326.5)
XYZxyz(8.6495, 4.5790, 14.3353)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68166B #196B16
analogous
#3D166B #68166B #6B1644
triadic
#68166B #6B6816 #166B68
tetradic
#68166B #6B3D16 #196B16 #16446B
square
#68166B #6B3D16 #196B16 #16446B
split-complementary
#68166B #446B16 #166B3D
monochromatic
#190519 #370C38 #68166B #99209E #CB2BD1

Accessibility & contrast

On white

10.96
#68166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#68166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68166B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68166B#FFFFFF#000000##FFFFFF
##68166B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#2B4069
Tritanopia (blue-blind)
#6B2540
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68166b;
/* rgb */ color: rgb(104, 22, 107);
/* oklch */ color: oklch(37.8% 0.152 326.5);
Tailwind
colors: {
  custom: {
    50: '#965e96',
    500: '#68166b',
    950: '#000000',
  },
}
SCSS
$custom: #68166b;
$custom-light: #965e96;
$custom-dark: #000000;
JSON
{
  "hex": "#68166b",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 297.882,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37787,
    "c": 0.15209,
    "h": 326.5
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#68166B
secondary
#3FA13B
accent
#E93F45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68166B

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

Preview Lab → · Contrast checker → · Palette generator →

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