#68167D#68167D

#68167D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.168 H 318.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#68167D
RGBrgb(104, 22, 125)
HSLhsl(288, 70%, 29%)
HSVhsv(288, 82%, 49%)
CMYKcmyk(16.8%, 82.4%, 0%, 51%)
CIE-LABlab(26.73, 49.46, -39.74)
CIE-LCHlch(26.73, 63.44, 321.22°)
OKLaboklab(39.05% 0.1249 -0.1118)
OKLCHoklch(39.05% 0.168 318.2)
XYZxyz(9.6970, 4.9980, 19.8520)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68167D #2B7D16
analogous
#35167D #68167D #7D165F
triadic
#68167D #7D6816 #167D68
tetradic
#68167D #7D3516 #2B7D16 #165F7D
square
#68167D #7D3516 #2B7D16 #165F7D
split-complementary
#68167D #5F7D16 #167D35
monochromatic
#16051A #3D0D49 #68167D #931FB1 #B932DB

Accessibility & contrast

On white

10.50
#68167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#68167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68167D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68167D#FFFFFF#000000##FFFFFF
##68167D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#1B427B
Tritanopia (blue-blind)
#672E4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68167d;
/* rgb */ color: rgb(104, 22, 125);
/* oklch */ color: oklch(39.0% 0.168 318.2);
Tailwind
colors: {
  custom: {
    50: '#975fa3',
    500: '#68167d',
    950: '#000000',
  },
}
SCSS
$custom: #68167d;
$custom-light: #975fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#68167d",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 287.767,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39049,
    "c": 0.16767,
    "h": 318.2
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#68167D
secondary
#55B23D
accent
#ED3B5F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68167D

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

Preview Lab → · Contrast checker → · Palette generator →

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