#68179F#68179F

#68179F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.198 H 305.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#68179F
RGBrgb(104, 23, 159)
HSLhsl(276, 75%, 36%)
HSVhsv(276, 86%, 62%)
CMYKcmyk(34.6%, 85.5%, 0%, 37.6%)
CIE-LABlab(29.56, 56.33, -56.22)
CIE-LCHlch(29.56, 79.58, 315.06°)
OKLaboklab(41.88% 0.1156 -0.1603)
OKLCHoklch(41.88% 0.198 305.8)
XYZxyz(12.2719, 6.0592, 33.3172)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68179F #4E9F17
analogous
#24179F #68179F #9F1792
triadic
#68179F #9F6817 #179F68
tetradic
#68179F #9F2417 #4E9F17 #17929F
square
#68179F #9F2417 #4E9F17 #17929F
split-complementary
#68179F #929F17 #179F24
monochromatic
#220834 #450F6A #68179F #8B1FD4 #A74BE5

Accessibility & contrast

On white

9.49
#68179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#68179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68179F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68179F#FFFFFF#000000##FFFFFF
##68179F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5E3E5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68179f;
/* rgb */ color: rgb(104, 23, 159);
/* oklch */ color: oklch(41.9% 0.198 305.8);
Tailwind
colors: {
  custom: {
    50: '#9961bc',
    500: '#68179f',
    950: '#000000',
  },
}
SCSS
$custom: #68179f;
$custom-light: #9961bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68179f",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 275.735,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.19759,
    "h": 305.8
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#68179F
secondary
#7DC74B
accent
#F13682
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #68179F

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

Preview Lab → · Contrast checker → · Palette generator →

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