#68147D#68147D

#68147D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.170 H 318.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#68147D
RGBrgb(104, 20, 125)
HSLhsl(288, 72%, 28%)
HSVhsv(288, 84%, 49%)
CMYKcmyk(16.8%, 84%, 0%, 51%)
CIE-LABlab(26.52, 50.07, -40.08)
CIE-LCHlch(26.52, 64.13, 321.32°)
OKLaboklab(38.9% 0.1265 -0.1128)
OKLCHoklch(38.9% 0.17 318.3)
XYZxyz(9.6602, 4.9245, 19.8397)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68147D #297D14
analogous
#33147D #68147D #7D145D
triadic
#68147D #7D6814 #147D68
tetradic
#68147D #7D3314 #297D14 #145D7D
square
#68147D #7D3314 #297D14 #145D7D
split-complementary
#68147D #5D7D14 #147D33
monochromatic
#16041A #3C0C48 #68147D #941CB2 #BA2EDE

Accessibility & contrast

On white

10.58
#68147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#68147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68147D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68147D#FFFFFF#000000##FFFFFF
##68147D1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68147d;
/* rgb */ color: rgb(104, 20, 125);
/* oklch */ color: oklch(38.9% 0.170 318.3);
Tailwind
colors: {
  custom: {
    50: '#975ea3',
    500: '#68147d',
    950: '#000000',
  },
}
SCSS
$custom: #68147d;
$custom-light: #975ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#68147d",
  "rgb": {
    "r": 104,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 288,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38901,
    "c": 0.1695,
    "h": 318.3
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#68147D
secondary
#52B23A
accent
#EF395D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68147D

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

Preview Lab → · Contrast checker → · Palette generator →

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