#68156B#68156B

#68156B is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.153 H 326.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#68156B
RGBrgb(104, 21, 107)
HSLhsl(298, 67%, 25%)
HSVhsv(298, 80%, 42%)
CMYKcmyk(2.8%, 80.4%, 0%, 58%)
CIE-LABlab(25.39, 46.35, -30.37)
CIE-LCHlch(25.39, 55.41, 326.76°)
OKLaboklab(37.71% 0.1277 -0.0844)
OKLCHoklch(37.71% 0.153 326.5)
XYZxyz(8.6308, 4.5415, 14.3291)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68156B #186B15
analogous
#3D156B #68156B #6B1543
triadic
#68156B #6B6815 #156B68
tetradic
#68156B #6B3D15 #186B15 #15436B
square
#68156B #6B3D15 #186B15 #15436B
split-complementary
#68156B #436B15 #156B3D
monochromatic
#19051A #360B38 #68156B #9A1F9E #CB29D1

Accessibility & contrast

On white

11.01
#68156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68156B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68156B#FFFFFF#000000##FFFFFF
##68156B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#2B4069
Tritanopia (blue-blind)
#6B2440
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68156b;
/* rgb */ color: rgb(104, 21, 107);
/* oklch */ color: oklch(37.7% 0.153 326.5);
Tailwind
colors: {
  custom: {
    50: '#965d96',
    500: '#68156b',
    950: '#000000',
  },
}
SCSS
$custom: #68156b;
$custom-light: #965d96;
$custom-dark: #000000;
JSON
{
  "hex": "#68156b",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 297.907,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.15313,
    "h": 326.5
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#68156B
secondary
#3EA23A
accent
#EA3E44
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68156B

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

Preview Lab → · Contrast checker → · Palette generator →

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