#68177D#68177D

#68177D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.167 H 318.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#68177D
RGBrgb(104, 23, 125)
HSLhsl(288, 69%, 29%)
HSVhsv(288, 82%, 49%)
CMYKcmyk(16.8%, 81.6%, 0%, 51%)
CIE-LABlab(26.84, 49.14, -39.56)
CIE-LCHlch(26.84, 63.08, 321.16°)
OKLaboklab(39.13% 0.1241 -0.1113)
OKLCHoklch(39.13% 0.167 318.1)
XYZxyz(9.7165, 5.0370, 19.8585)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68177D #2C7D17
analogous
#35177D #68177D #7D175F
triadic
#68177D #7D6817 #177D68
tetradic
#68177D #7D3517 #2C7D17 #175F7D
square
#68177D #7D3517 #2C7D17 #175F7D
split-complementary
#68177D #5F7D17 #177D35
monochromatic
#16051A #3D0D49 #68177D #9321B1 #B835DA

Accessibility & contrast

On white

10.46
#68177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68177D
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68177D#FFFFFF#000000##FFFFFF
##68177D1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68177d;
/* rgb */ color: rgb(104, 23, 125);
/* oklch */ color: oklch(39.1% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#975fa3',
    500: '#68177d',
    950: '#000000',
  },
}
SCSS
$custom: #68177d;
$custom-light: #975fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#68177d",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 287.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39127,
    "c": 0.1667,
    "h": 318.1
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#68177D
secondary
#56B23E
accent
#EC3C60
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68177D

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

Preview Lab → · Contrast checker → · Palette generator →

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