#68167E#68167E

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

Color values

HEX#68167E
RGBrgb(104, 22, 126)
HSLhsl(287, 70%, 29%)
HSVhsv(287, 83%, 49%)
CMYKcmyk(17.5%, 82.5%, 0%, 50.6%)
CIE-LABlab(26.80, 49.66, -40.25)
CIE-LCHlch(26.80, 63.92, 320.97°)
OKLaboklab(39.12% 0.1247 -0.1133)
OKLCHoklch(39.12% 0.169 317.7)
XYZxyz(9.7612, 5.0237, 20.1901)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68167E #2C7E16
analogous
#34167E #68167E #7E1660
triadic
#68167E #7E6816 #167E68
tetradic
#68167E #7E3416 #2C7E16 #16607E
square
#68167E #7E3416 #2C7E16 #16607E
split-complementary
#68167E #607E16 #167E34
monochromatic
#16051A #3D0D4A #68167E #931FB2 #B833DB

Accessibility & contrast

On white

10.48
#68167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68167E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68167E#FFFFFF#000000##FFFFFF
##68167E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#672E4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68167e;
/* rgb */ color: rgb(104, 22, 126);
/* oklch */ color: oklch(39.1% 0.169 317.7);
Tailwind
colors: {
  custom: {
    50: '#975fa4',
    500: '#68167e',
    950: '#000000',
  },
}
SCSS
$custom: #68167e;
$custom-light: #975fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#68167e",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 287.308,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39123,
    "c": 0.16855,
    "h": 317.7
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#68167E
secondary
#56B33D
accent
#ED3B60
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68167E

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

Preview Lab → · Contrast checker → · Palette generator →

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