#68147E#68147E

#68147E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.170 H 317.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#68147E
RGBrgb(104, 20, 126)
HSLhsl(288, 73%, 29%)
HSVhsv(288, 84%, 49%)
CMYKcmyk(17.5%, 84.1%, 0%, 50.6%)
CIE-LABlab(26.59, 50.27, -40.59)
CIE-LCHlch(26.59, 64.61, 321.08°)
OKLaboklab(38.98% 0.1263 -0.1143)
OKLCHoklch(38.98% 0.17 317.8)
XYZxyz(9.7244, 4.9502, 20.1779)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68147E #2A7E14
analogous
#33147E #68147E #7E145F
triadic
#68147E #7E6814 #147E68
tetradic
#68147E #7E3314 #2A7E14 #145F7E
square
#68147E #7E3314 #2A7E14 #145F7E
split-complementary
#68147E #5F7E14 #147E33
monochromatic
#16041A #3C0C49 #68147E #941CB3 #B92EDE

Accessibility & contrast

On white

10.55
#68147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#68147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68147E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68147E#FFFFFF#000000##FFFFFF
##68147E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#18417C
Tritanopia (blue-blind)
#672D4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68147e;
/* rgb */ color: rgb(104, 20, 126);
/* oklch */ color: oklch(39.0% 0.170 317.8);
Tailwind
colors: {
  custom: {
    50: '#975ea4',
    500: '#68147e',
    950: '#000000',
  },
}
SCSS
$custom: #68147e;
$custom-light: #975ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#68147e",
  "rgb": {
    "r": 104,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 287.547,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38976,
    "c": 0.17038,
    "h": 317.8
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#68147E
secondary
#54B33A
accent
#EF385E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68147E

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

Preview Lab → · Contrast checker → · Palette generator →

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