#68156C#68156C

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

Color values

HEX#68156C
RGBrgb(104, 21, 108)
HSLhsl(297, 67%, 25%)
HSVhsv(297, 81%, 42%)
CMYKcmyk(3.7%, 80.6%, 0%, 57.6%)
CIE-LABlab(25.45, 46.53, -30.92)
CIE-LCHlch(25.45, 55.86, 326.40°)
OKLaboklab(37.77% 0.1277 -0.086)
OKLCHoklch(37.77% 0.154 326)
XYZxyz(8.6837, 4.5627, 14.6078)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68156C #196C15
analogous
#3C156C #68156C #6C1545
triadic
#68156C #6C6815 #156C68
tetradic
#68156C #6C3C15 #196C15 #15456C
square
#68156C #6C3C15 #196C15 #15456C
split-complementary
#68156C #456C15 #156C3C
monochromatic
#19051A #370B39 #68156C #991F9F #CB29D2

Accessibility & contrast

On white

10.98
#68156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#68156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68156C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68156C#FFFFFF#000000##FFFFFF
##68156C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#2A406A
Tritanopia (blue-blind)
#6B2540
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68156c;
/* rgb */ color: rgb(104, 21, 108);
/* oklch */ color: oklch(37.8% 0.154 326.0);
Tailwind
colors: {
  custom: {
    50: '#965d96',
    500: '#68156c',
    950: '#000000',
  },
}
SCSS
$custom: #68156c;
$custom-light: #965d96;
$custom-dark: #000000;
JSON
{
  "hex": "#68156c",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 297.241,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.15397,
    "h": 326
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#68156C
secondary
#3FA33A
accent
#EA3D45
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68156C

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

Preview Lab → · Contrast checker → · Palette generator →

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