#68177E#68177E

#68177E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.168 H 317.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#68177E
RGBrgb(104, 23, 126)
HSLhsl(287, 69%, 29%)
HSVhsv(287, 82%, 49%)
CMYKcmyk(17.5%, 81.7%, 0%, 50.6%)
CIE-LABlab(26.91, 49.34, -40.07)
CIE-LCHlch(26.91, 63.56, 320.91°)
OKLaboklab(39.2% 0.1239 -0.1128)
OKLCHoklch(39.2% 0.168 317.7)
XYZxyz(9.7807, 5.0627, 20.1966)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68177E #2D7E17
analogous
#34177E #68177E #7E1761
triadic
#68177E #7E6817 #177E68
tetradic
#68177E #7E3417 #2D7E17 #17617E
square
#68177E #7E3417 #2D7E17 #17617E
split-complementary
#68177E #617E17 #177E34
monochromatic
#15051A #3D0E4A #68177E #9320B2 #B735DA

Accessibility & contrast

On white

10.44
#68177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#68177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68177E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68177E#FFFFFF#000000##FFFFFF
##68177E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#672F4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68177e;
/* rgb */ color: rgb(104, 23, 126);
/* oklch */ color: oklch(39.2% 0.168 317.7);
Tailwind
colors: {
  custom: {
    50: '#975fa4',
    500: '#68177e',
    950: '#000000',
  },
}
SCSS
$custom: #68177e;
$custom-light: #975fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#68177e",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 287.184,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.1676,
    "h": 317.7
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#68177E
secondary
#57B33E
accent
#EC3C61
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68177E

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

Preview Lab → · Contrast checker → · Palette generator →

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