#68157A#68157A

#68157A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.166 H 319.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#68157A
RGBrgb(104, 21, 122)
HSLhsl(289, 71%, 28%)
HSVhsv(289, 83%, 48%)
CMYKcmyk(14.8%, 82.8%, 0%, 52.2%)
CIE-LABlab(26.40, 49.18, -38.36)
CIE-LCHlch(26.40, 62.37, 322.05°)
OKLaboklab(38.75% 0.1262 -0.1078)
OKLCHoklch(38.75% 0.166 319.5)
XYZxyz(9.4895, 4.8850, 18.8516)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68157A #277A15
analogous
#35157A #68157A #7A1559
triadic
#68157A #7A6815 #157A68
tetradic
#68157A #7A3515 #277A15 #15597A
square
#68157A #7A3515 #277A15 #15597A
split-complementary
#68157A #597A15 #157A35
monochromatic
#16041A #3B0C46 #68157A #951EAE #BC2EDB

Accessibility & contrast

On white

10.62
#68157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#68157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68157A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68157A#FFFFFF#000000##FFFFFF
##68157A1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#682C48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #68157a;
/* rgb */ color: rgb(104, 21, 122);
/* oklch */ color: oklch(38.8% 0.166 319.5);
Tailwind
colors: {
  custom: {
    50: '#975ea1',
    500: '#68157a',
    950: '#000000',
  },
}
SCSS
$custom: #68157a;
$custom-light: #975ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#68157a",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 289.307,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38752,
    "c": 0.16598,
    "h": 319.5
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#68157A
secondary
#50AF3B
accent
#ED3A5A
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68157A

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

Preview Lab → · Contrast checker → · Palette generator →

#68157A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva