#68157F#68157F

#68157F is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.170 H 317.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#68157F
RGBrgb(104, 21, 127)
HSLhsl(287, 72%, 29%)
HSVhsv(287, 83%, 50%)
CMYKcmyk(18.1%, 83.5%, 0%, 50.2%)
CIE-LABlab(26.77, 50.17, -40.94)
CIE-LCHlch(26.77, 64.75, 320.79°)
OKLaboklab(39.12% 0.1254 -0.1154)
OKLCHoklch(39.12% 0.17 317.4)
XYZxyz(9.8073, 5.0121, 20.5254)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68157F #2C7F15
analogous
#33157F #68157F #7F1561
triadic
#68157F #7F6815 #157F68
tetradic
#68157F #7F3315 #2C7F15 #15617F
square
#68157F #7F3315 #2C7F15 #15617F
split-complementary
#68157F #617F15 #157F33
monochromatic
#16041A #3D0C4A #68157F #931EB4 #B831DD

Accessibility & contrast

On white

10.49
#68157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#68157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68157F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68157F#FFFFFF#000000##FFFFFF
##68157F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#672E4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68157f;
/* rgb */ color: rgb(104, 21, 127);
/* oklch */ color: oklch(39.1% 0.170 317.4);
Tailwind
colors: {
  custom: {
    50: '#975fa5',
    500: '#68157f',
    950: '#000000',
  },
}
SCSS
$custom: #68157f;
$custom-light: #975fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#68157f",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 286.981,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.17036,
    "h": 317.4
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#68157F
secondary
#56B43C
accent
#EE3961
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68157F

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

Preview Lab → · Contrast checker → · Palette generator →

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