#68117E#68117E

#68117E is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.173 H 318.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#68117E
RGBrgb(104, 17, 126)
HSLhsl(288, 76%, 28%)
HSVhsv(288, 87%, 49%)
CMYKcmyk(17.5%, 86.5%, 0%, 50.6%)
CIE-LABlab(26.31, 51.10, -41.05)
CIE-LCHlch(26.31, 65.55, 321.22°)
OKLaboklab(38.78% 0.1285 -0.1157)
OKLCHoklch(38.78% 0.173 318)
XYZxyz(9.6747, 4.8508, 20.1613)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68117E #277E11
analogous
#31117E #68117E #7E115D
triadic
#68117E #7E6811 #117E68
tetradic
#68117E #7E3111 #277E11 #115D7E
square
#68117E #7E3111 #277E11 #115D7E
split-complementary
#68117E #5D7E11 #117E31
monochromatic
#16041B #3B0A48 #68117E #9518B4 #BC27E2

Accessibility & contrast

On white

10.66
#68117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#68117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68117E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68117E#FFFFFF#000000##FFFFFF
##68117E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#672C4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #68117e;
/* rgb */ color: rgb(104, 17, 126);
/* oklch */ color: oklch(38.8% 0.173 318.0);
Tailwind
colors: {
  custom: {
    50: '#975da4',
    500: '#68117e',
    950: '#000000',
  },
}
SCSS
$custom: #68117e;
$custom-light: #975da4;
$custom-dark: #000000;
JSON
{
  "hex": "#68117e",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 287.89,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.17288,
    "h": 318
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#68117E
secondary
#50B437
accent
#F3355B
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68117E

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

Preview Lab → · Contrast checker → · Palette generator →

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