#68156F#68156F

#68156F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.157 H 324.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#68156F
RGBrgb(104, 21, 111)
HSLhsl(295, 68%, 26%)
HSVhsv(295, 81%, 44%)
CMYKcmyk(6.3%, 81.1%, 0%, 56.5%)
CIE-LABlab(25.65, 47.08, -32.54)
CIE-LCHlch(25.65, 57.23, 325.35°)
OKLaboklab(37.97% 0.1275 -0.0908)
OKLCHoklch(37.97% 0.157 324.5)
XYZxyz(8.8461, 4.6277, 15.4631)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68156F #1C6F15
analogous
#3B156F #68156F #6F1549
triadic
#68156F #6F6815 #156F68
tetradic
#68156F #6F3B15 #1C6F15 #15496F
square
#68156F #6F3B15 #1C6F15 #15496F
split-complementary
#68156F #496F15 #156F3B
monochromatic
#18051A #380B3C #68156F #981FA2 #C828D6

Accessibility & contrast

On white

10.91
#68156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#68156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68156F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68156F#FFFFFF#000000##FFFFFF
##68156F1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#6A2642
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68156f;
/* rgb */ color: rgb(104, 21, 111);
/* oklch */ color: oklch(38.0% 0.157 324.5);
Tailwind
colors: {
  custom: {
    50: '#965e99',
    500: '#68156f',
    950: '#000000',
  },
}
SCSS
$custom: #68156f;
$custom-light: #965e99;
$custom-dark: #000000;
JSON
{
  "hex": "#68156f",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 295.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.1565,
    "h": 324.5
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#68156F
secondary
#43A53A
accent
#EB3D4A
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #68156F

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

Preview Lab → · Contrast checker → · Palette generator →

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