#68177B#68177B

#68177B is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.165 H 319.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#68177B
RGBrgb(104, 23, 123)
HSLhsl(289, 68%, 29%)
HSVhsv(289, 81%, 48%)
CMYKcmyk(15.4%, 81.3%, 0%, 51.8%)
CIE-LABlab(26.70, 48.74, -38.52)
CIE-LCHlch(26.70, 62.12, 321.68°)
OKLaboklab(38.98% 0.1244 -0.1083)
OKLCHoklch(38.98% 0.165 319)
XYZxyz(9.5900, 4.9864, 19.1924)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68177B #2A7B17
analogous
#36177B #68177B #7B175C
triadic
#68177B #7B6817 #177B68
tetradic
#68177B #7B3617 #2A7B17 #175C7B
square
#68177B #7B3617 #2A7B17 #175C7B
split-complementary
#68177B #5C7B17 #177B36
monochromatic
#16051A #3C0D47 #68177B #9421AF #B933D9

Accessibility & contrast

On white

10.51
#68177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#68177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68177B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68177B#FFFFFF#000000##FFFFFF
##68177B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68177b;
/* rgb */ color: rgb(104, 23, 123);
/* oklch */ color: oklch(39.0% 0.165 319.0);
Tailwind
colors: {
  custom: {
    50: '#975fa2',
    500: '#68177b',
    950: '#000000',
  },
}
SCSS
$custom: #68177b;
$custom-light: #975fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#68177b",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 288.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.16492,
    "h": 319
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#68177B
secondary
#54B03E
accent
#EB3C5E
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68177B

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

Preview Lab → · Contrast checker → · Palette generator →

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