#68179E#68179E

#68179E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.8% C 0.197 H 306.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#68179E
RGBrgb(104, 23, 158)
HSLhsl(276, 75%, 35%)
HSVhsv(276, 85%, 62%)
CMYKcmyk(34.2%, 85.4%, 0%, 38%)
CIE-LABlab(29.47, 56.11, -55.75)
CIE-LCHlch(29.47, 79.10, 315.18°)
OKLaboklab(41.79% 0.1159 -0.1589)
OKLCHoklch(41.79% 0.197 306.1)
XYZxyz(12.1855, 6.0246, 32.8620)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68179E #4D9E17
analogous
#24179E #68179E #9E1790
triadic
#68179E #9E6817 #179E68
tetradic
#68179E #9E2417 #4D9E17 #17909E
square
#68179E #9E2417 #4D9E17 #17909E
split-complementary
#68179E #909E17 #179E24
monochromatic
#220733 #450F69 #68179E #8B1FD3 #A74BE5

Accessibility & contrast

On white

9.52
#68179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#68179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68179E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68179E#FFFFFF#000000##FFFFFF
##68179E1.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5E3E5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68179e;
/* rgb */ color: rgb(104, 23, 158);
/* oklch */ color: oklch(41.8% 0.197 306.1);
Tailwind
colors: {
  custom: {
    50: '#9961bc',
    500: '#68179e',
    950: '#000000',
  },
}
SCSS
$custom: #68179e;
$custom-light: #9961bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68179e",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 276,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.19668,
    "h": 306.1
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#68179E
secondary
#7CC64A
accent
#F13781
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #68179E

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

Preview Lab → · Contrast checker → · Palette generator →

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