#68169E#68169E

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

Color values

HEX#68169E
RGBrgb(104, 22, 158)
HSLhsl(276, 76%, 35%)
HSVhsv(276, 86%, 62%)
CMYKcmyk(34.2%, 86.1%, 0%, 38%)
CIE-LABlab(29.38, 56.40, -55.91)
CIE-LCHlch(29.38, 79.42, 315.25°)
OKLaboklab(41.72% 0.1165 -0.1594)
OKLCHoklch(41.72% 0.197 306.2)
XYZxyz(12.1660, 5.9856, 32.8555)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68169E #4C9E16
analogous
#24169E #68169E #9E1690
triadic
#68169E #9E6816 #169E68
tetradic
#68169E #9E2416 #4C9E16 #16909E
square
#68169E #9E2416 #4C9E16 #16909E
split-complementary
#68169E #909E16 #169E24
monochromatic
#210733 #450F68 #68169E #8B1DD4 #A749E6

Accessibility & contrast

On white

9.56
#68169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68169E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68169E#FFFFFF#000000##FFFFFF
##68169E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68169e;
/* rgb */ color: rgb(104, 22, 158);
/* oklch */ color: oklch(41.7% 0.197 306.2);
Tailwind
colors: {
  custom: {
    50: '#9961bc',
    500: '#68169e',
    950: '#000000',
  },
}
SCSS
$custom: #68169e;
$custom-light: #9961bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68169e",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 276.176,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.19743,
    "h": 306.2
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#68169E
secondary
#7BC749
accent
#F23680
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0512
muted
#7E7A81

Preview Lab

Preview with #68169E

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

Preview Lab → · Contrast checker → · Palette generator →

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