#68167B#68167B

#68167B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.166 H 319.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#68167B
RGBrgb(104, 22, 123)
HSLhsl(289, 70%, 28%)
HSVhsv(289, 82%, 48%)
CMYKcmyk(15.4%, 82.1%, 0%, 51.8%)
CIE-LABlab(26.58, 49.06, -38.70)
CIE-LCHlch(26.58, 62.49, 321.73°)
OKLaboklab(38.9% 0.1252 -0.1088)
OKLCHoklch(38.9% 0.166 319)
XYZxyz(9.5705, 4.9474, 19.1859)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68167B #297B16
analogous
#35167B #68167B #7B165B
triadic
#68167B #7B6816 #167B68
tetradic
#68167B #7B3516 #297B16 #165B7B
square
#68167B #7B3516 #297B16 #165B7B
split-complementary
#68167B #5B7B16 #167B35
monochromatic
#16051A #3C0D47 #68167B #941FAF #BA31DA

Accessibility & contrast

On white

10.56
#68167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#68167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68167B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68167B#FFFFFF#000000##FFFFFF
##68167B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#1D4179
Tritanopia (blue-blind)
#682D49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68167b;
/* rgb */ color: rgb(104, 22, 123);
/* oklch */ color: oklch(38.9% 0.166 319.0);
Tailwind
colors: {
  custom: {
    50: '#975fa2',
    500: '#68167b',
    950: '#000000',
  },
}
SCSS
$custom: #68167b;
$custom-light: #975fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#68167b",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 288.713,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38901,
    "c": 0.1659,
    "h": 319
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#68167B
secondary
#52B03D
accent
#EC3B5D
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68167B

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

Preview Lab → · Contrast checker → · Palette generator →

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