#68177F#68177F

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

Color values

HEX#68177F
RGBrgb(104, 23, 127)
HSLhsl(287, 69%, 29%)
HSVhsv(287, 82%, 50%)
CMYKcmyk(18.1%, 81.9%, 0%, 50.2%)
CIE-LABlab(26.99, 49.54, -40.59)
CIE-LCHlch(26.99, 64.04, 320.67°)
OKLaboklab(39.28% 0.1238 -0.1143)
OKLCHoklch(39.28% 0.168 317.3)
XYZxyz(9.8455, 5.0886, 20.5381)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68177F #2E7F17
analogous
#34177F #68177F #7F1762
triadic
#68177F #7F6817 #177F68
tetradic
#68177F #7F3417 #2E7F17 #17627F
square
#68177F #7F3417 #2E7F17 #17627F
split-complementary
#68177F #627F17 #177F34
monochromatic
#15051A #3E0E4B #68177F #9220B3 #B636DB

Accessibility & contrast

On white

10.41
#68177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#68177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68177F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68177F#FFFFFF#000000##FFFFFF
##68177F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#672F4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68177f;
/* rgb */ color: rgb(104, 23, 127);
/* oklch */ color: oklch(39.3% 0.168 317.3);
Tailwind
colors: {
  custom: {
    50: '#975fa5',
    500: '#68177f',
    950: '#000000',
  },
}
SCSS
$custom: #68177f;
$custom-light: #975fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#68177f",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 286.731,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.16849,
    "h": 317.3
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#68177F
secondary
#58B43E
accent
#EC3C63
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68177F

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

Preview Lab → · Contrast checker → · Palette generator →

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