#68166F#68166F

#68166F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.155 H 324.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#68166F
RGBrgb(104, 22, 111)
HSLhsl(295, 67%, 26%)
HSVhsv(295, 80%, 44%)
CMYKcmyk(6.3%, 80.2%, 0%, 56.5%)
CIE-LABlab(25.76, 46.76, -32.36)
CIE-LCHlch(25.76, 56.86, 325.31°)
OKLaboklab(38.05% 0.1266 -0.0902)
OKLCHoklch(38.05% 0.155 324.5)
XYZxyz(8.8648, 4.6651, 15.4694)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68166F #1D6F16
analogous
#3B166F #68166F #6F1649
triadic
#68166F #6F6816 #166F68
tetradic
#68166F #6F3B16 #1D6F16 #16496F
square
#68166F #6F3B16 #1D6F16 #16496F
split-complementary
#68166F #496F16 #166F3B
monochromatic
#18051A #380C3C #68166F #9820A2 #C72BD5

Accessibility & contrast

On white

10.86
#68166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#68166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68166F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68166F#FFFFFF#000000##FFFFFF
##68166F1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#6A2742
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68166f;
/* rgb */ color: rgb(104, 22, 111);
/* oklch */ color: oklch(38.1% 0.155 324.5);
Tailwind
colors: {
  custom: {
    50: '#965e99',
    500: '#68166f',
    950: '#000000',
  },
}
SCSS
$custom: #68166f;
$custom-light: #965e99;
$custom-dark: #000000;
JSON
{
  "hex": "#68166f",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 295.281,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38053,
    "c": 0.15548,
    "h": 324.5
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#68166F
secondary
#44A53C
accent
#EA3E4B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #68166F

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

Preview Lab → · Contrast checker → · Palette generator →

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