#68156A#68156A

#68156A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.152 H 327.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#68156A
RGBrgb(104, 21, 106)
HSLhsl(299, 67%, 25%)
HSVhsv(299, 80%, 42%)
CMYKcmyk(1.9%, 80.2%, 0%, 58.4%)
CIE-LABlab(25.32, 46.17, -29.83)
CIE-LCHlch(25.32, 54.96, 327.13°)
OKLaboklab(37.64% 0.1278 -0.0828)
OKLCHoklch(37.64% 0.152 327)
XYZxyz(8.5785, 4.5206, 14.0536)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68156A #176A15
analogous
#3D156A #68156A #6A1542
triadic
#68156A #6A6815 #156A68
tetradic
#68156A #6A3D15 #176A15 #15426A
square
#68156A #6A3D15 #176A15 #15426A
split-complementary
#68156A #426A15 #156A3D
monochromatic
#19051A #360B37 #68156A #9A1F9D #CC29D0

Accessibility & contrast

On white

11.03
#68156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#68156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68156A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68156A#FFFFFF#000000##FFFFFF
##68156A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#2B4068
Tritanopia (blue-blind)
#6B243F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68156a;
/* rgb */ color: rgb(104, 21, 106);
/* oklch */ color: oklch(37.6% 0.152 327.0);
Tailwind
colors: {
  custom: {
    50: '#965d95',
    500: '#68156a',
    950: '#000000',
  },
}
SCSS
$custom: #68156a;
$custom-light: #965d95;
$custom-dark: #000000;
JSON
{
  "hex": "#68156a",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 298.588,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3764,
    "c": 0.1523,
    "h": 327
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#68156A
secondary
#3DA13A
accent
#EA3E42
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68156A

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

Preview Lab → · Contrast checker → · Palette generator →

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