#68157E#68157E

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

Color values

HEX#68157E
RGBrgb(104, 21, 126)
HSLhsl(287, 71%, 29%)
HSVhsv(287, 83%, 49%)
CMYKcmyk(17.5%, 83.3%, 0%, 50.6%)
CIE-LABlab(26.70, 49.97, -40.42)
CIE-LCHlch(26.70, 64.27, 321.03°)
OKLaboklab(39.05% 0.1255 -0.1138)
OKLCHoklch(39.05% 0.169 317.8)
XYZxyz(9.7424, 4.9862, 20.1839)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68157E #2B7E15
analogous
#34157E #68157E #7E1560
triadic
#68157E #7E6815 #157E68
tetradic
#68157E #7E3415 #2B7E15 #15607E
square
#68157E #7E3415 #2B7E15 #15607E
split-complementary
#68157E #607E15 #157E34
monochromatic
#16041A #3D0C4A #68157E #931EB2 #B931DD

Accessibility & contrast

On white

10.51
#68157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68157E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68157E#FFFFFF#000000##FFFFFF
##68157E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#672E4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68157e;
/* rgb */ color: rgb(104, 21, 126);
/* oklch */ color: oklch(39.0% 0.169 317.8);
Tailwind
colors: {
  custom: {
    50: '#975ea4',
    500: '#68157e',
    950: '#000000',
  },
}
SCSS
$custom: #68157e;
$custom-light: #975ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#68157e",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 287.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.16948,
    "h": 317.8
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#68157E
secondary
#55B33C
accent
#EE3A5F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68157E

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

Preview Lab → · Contrast checker → · Palette generator →

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