#68167F#68167F

#68167F is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.169 H 317.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#68167F
RGBrgb(104, 22, 127)
HSLhsl(287, 70%, 29%)
HSVhsv(287, 83%, 50%)
CMYKcmyk(18.1%, 82.7%, 0%, 50.2%)
CIE-LABlab(26.88, 49.86, -40.76)
CIE-LCHlch(26.88, 64.40, 320.73°)
OKLaboklab(39.2% 0.1246 -0.1149)
OKLCHoklch(39.2% 0.169 317.3)
XYZxyz(9.8260, 5.0496, 20.5316)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68167F #2D7F16
analogous
#34167F #68167F #7F1662
triadic
#68167F #7F6816 #167F68
tetradic
#68167F #7F3416 #2D7F16 #16627F
square
#68167F #7F3416 #2D7F16 #16627F
split-complementary
#68167F #627F16 #167F34
monochromatic
#15051A #3D0D4B #68167F #931FB3 #B734DC

Accessibility & contrast

On white

10.45
#68167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#68167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68167F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68167F#FFFFFF#000000##FFFFFF
##68167F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#672F4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68167f;
/* rgb */ color: rgb(104, 22, 127);
/* oklch */ color: oklch(39.2% 0.169 317.3);
Tailwind
colors: {
  custom: {
    50: '#975fa5',
    500: '#68167f',
    950: '#000000',
  },
}
SCSS
$custom: #68167f;
$custom-light: #975fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#68167f",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 286.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.16943,
    "h": 317.3
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#68167F
secondary
#57B43D
accent
#ED3B62
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68167F

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

Preview Lab → · Contrast checker → · Palette generator →

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