#68177A#68177A

#68177A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.164 H 319.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#68177A
RGBrgb(104, 23, 122)
HSLhsl(289, 68%, 28%)
HSVhsv(289, 81%, 48%)
CMYKcmyk(14.8%, 81.1%, 0%, 52.2%)
CIE-LABlab(26.62, 48.54, -38.00)
CIE-LCHlch(26.62, 61.65, 321.94°)
OKLaboklab(38.91% 0.1245 -0.1068)
OKLCHoklch(38.91% 0.164 319.4)
XYZxyz(9.5277, 4.9615, 18.8644)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68177A #297A17
analogous
#36177A #68177A #7A175A
triadic
#68177A #7A6817 #177A68
tetradic
#68177A #7A3617 #297A17 #175A7A
square
#68177A #7A3617 #297A17 #175A7A
split-complementary
#68177A #5A7A17 #177A36
monochromatic
#16051A #3C0D47 #68177A #9421AD #BA33D9

Accessibility & contrast

On white

10.54
#68177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#68177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68177A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68177A#FFFFFF#000000##FFFFFF
##68177A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#1F4278
Tritanopia (blue-blind)
#682D49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68177a;
/* rgb */ color: rgb(104, 23, 122);
/* oklch */ color: oklch(38.9% 0.164 319.4);
Tailwind
colors: {
  custom: {
    50: '#975fa1',
    500: '#68177a',
    950: '#000000',
  },
}
SCSS
$custom: #68177a;
$custom-light: #975fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#68177a",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 289.091,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.16404,
    "h": 319.4
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#68177A
secondary
#52AF3E
accent
#EB3D5C
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68177A

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

Preview Lab → · Contrast checker → · Palette generator →

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