#68157D#68157D

#68157D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.169 H 318.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#68157D
RGBrgb(104, 21, 125)
HSLhsl(288, 71%, 29%)
HSVhsv(288, 83%, 49%)
CMYKcmyk(16.8%, 83.2%, 0%, 51%)
CIE-LABlab(26.62, 49.77, -39.91)
CIE-LCHlch(26.62, 63.79, 321.27°)
OKLaboklab(38.97% 0.1257 -0.1123)
OKLCHoklch(38.97% 0.169 318.2)
XYZxyz(9.6782, 4.9605, 19.8457)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68157D #2A7D15
analogous
#34157D #68157D #7D155E
triadic
#68157D #7D6815 #157D68
tetradic
#68157D #7D3415 #2A7D15 #155E7D
square
#68157D #7D3415 #2A7D15 #155E7D
split-complementary
#68157D #5E7D15 #157D34
monochromatic
#16041A #3C0C49 #68157D #941EB1 #B930DC

Accessibility & contrast

On white

10.54
#68157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68157D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68157D#FFFFFF#000000##FFFFFF
##68157D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#672D4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68157d;
/* rgb */ color: rgb(104, 21, 125);
/* oklch */ color: oklch(39.0% 0.169 318.2);
Tailwind
colors: {
  custom: {
    50: '#975ea3',
    500: '#68157d',
    950: '#000000',
  },
}
SCSS
$custom: #68157d;
$custom-light: #975ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#68157d",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 287.885,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.1686,
    "h": 318.2
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#68157D
secondary
#54B23C
accent
#EE3A5E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68157D

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

Preview Lab → · Contrast checker → · Palette generator →

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