#68157C#68157C

#68157C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.168 H 318.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#68157C
RGBrgb(104, 21, 124)
HSLhsl(288, 71%, 28%)
HSVhsv(288, 83%, 49%)
CMYKcmyk(16.1%, 83.1%, 0%, 51.4%)
CIE-LABlab(26.55, 49.57, -39.39)
CIE-LCHlch(26.55, 63.32, 321.52°)
OKLaboklab(38.9% 0.1259 -0.1108)
OKLCHoklch(38.9% 0.168 318.6)
XYZxyz(9.6147, 4.9351, 19.5110)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68157C #297C15
analogous
#35157C #68157C #7C155C
triadic
#68157C #7C6815 #157C68
tetradic
#68157C #7C3515 #297C15 #155C7C
square
#68157C #7C3515 #297C15 #155C7C
split-complementary
#68157C #5C7C15 #157C35
monochromatic
#16041A #3C0C48 #68157C #941EB0 #BA30DC

Accessibility & contrast

On white

10.57
#68157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#68157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68157C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68157C#FFFFFF#000000##FFFFFF
##68157C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#1C417A
Tritanopia (blue-blind)
#682D49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68157c;
/* rgb */ color: rgb(104, 21, 124);
/* oklch */ color: oklch(38.9% 0.168 318.6);
Tailwind
colors: {
  custom: {
    50: '#975ea2',
    500: '#68157c',
    950: '#000000',
  },
}
SCSS
$custom: #68157c;
$custom-light: #975ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#68157c",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 288.35,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38899,
    "c": 0.16772,
    "h": 318.6
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#68157C
secondary
#52B13C
accent
#EE3A5D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68157C

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

Preview Lab → · Contrast checker → · Palette generator →

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