#68168F#68168F

#68168F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.184 H 311.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#68168F
RGBrgb(104, 22, 143)
HSLhsl(281, 73%, 32%)
HSVhsv(281, 85%, 56%)
CMYKcmyk(27.3%, 84.6%, 0%, 43.9%)
CIE-LABlab(28.12, 53.16, -48.76)
CIE-LCHlch(28.12, 72.13, 317.48°)
OKLaboklab(40.46% 0.121 -0.1383)
OKLCHoklch(40.46% 0.184 311.2)
XYZxyz(10.9528, 5.5003, 26.4660)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68168F #3D8F16
analogous
#2B168F #68168F #8F167A
triadic
#68168F #8F6816 #168F68
tetradic
#68168F #8F2B16 #3D8F16 #167A8F
square
#68168F #8F2B16 #3D8F16 #167A8F
split-complementary
#68168F #7A8F16 #168F2B
monochromatic
#1B0625 #410E5A #68168F #8F1EC4 #AD3EE1

Accessibility & contrast

On white

10.00
#68168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#68168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68168F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68168F#FFFFFF#000000##FFFFFF
##68168F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#633654
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68168f;
/* rgb */ color: rgb(104, 22, 143);
/* oklch */ color: oklch(40.5% 0.184 311.2);
Tailwind
colors: {
  custom: {
    50: '#9860b1',
    500: '#68168f',
    950: '#000000',
  },
}
SCSS
$custom: #68168f;
$custom-light: #9860b1;
$custom-dark: #000000;
JSON
{
  "hex": "#68168f",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 280.661,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.18377,
    "h": 311.2
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#68168F
secondary
#69C13F
accent
#F03873
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #68168F

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

Preview Lab → · Contrast checker → · Palette generator →

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