#68156D#68156D

#68156D is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.155 H 325.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#68156D
RGBrgb(104, 21, 109)
HSLhsl(297, 68%, 25%)
HSVhsv(297, 81%, 43%)
CMYKcmyk(4.6%, 80.7%, 0%, 57.3%)
CIE-LABlab(25.52, 46.71, -31.46)
CIE-LCHlch(25.52, 56.32, 326.04°)
OKLaboklab(37.84% 0.1276 -0.0876)
OKLCHoklch(37.84% 0.155 325.5)
XYZxyz(8.7372, 4.5841, 14.8897)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68156D #1A6D15
analogous
#3C156D #68156D #6D1546
triadic
#68156D #6D6815 #156D68
tetradic
#68156D #6D3C15 #1A6D15 #15466D
square
#68156D #6D3C15 #1A6D15 #15466D
split-complementary
#68156D #466D15 #156D3C
monochromatic
#18051A #370B3A #68156D #991FA0 #CA29D4

Accessibility & contrast

On white

10.96
#68156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#68156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68156D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68156D#FFFFFF#000000##FFFFFF
##68156D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#29406B
Tritanopia (blue-blind)
#6B2541
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68156d;
/* rgb */ color: rgb(104, 21, 109);
/* oklch */ color: oklch(37.8% 0.155 325.5);
Tailwind
colors: {
  custom: {
    50: '#965e97',
    500: '#68156d',
    950: '#000000',
  },
}
SCSS
$custom: #68156d;
$custom-light: #965e97;
$custom-dark: #000000;
JSON
{
  "hex": "#68156d",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 296.591,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.15481,
    "h": 325.5
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#68156D
secondary
#40A33A
accent
#EB3D47
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68156D

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

Preview Lab → · Contrast checker → · Palette generator →

#68156D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva