#68137E#68137E

#68137E is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.171 H 317.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#68137E
RGBrgb(104, 19, 126)
HSLhsl(288, 74%, 28%)
HSVhsv(288, 85%, 49%)
CMYKcmyk(17.5%, 84.9%, 0%, 50.6%)
CIE-LABlab(26.49, 50.56, -40.75)
CIE-LCHlch(26.49, 64.93, 321.13°)
OKLaboklab(38.91% 0.1271 -0.1148)
OKLCHoklch(38.91% 0.171 317.9)
XYZxyz(9.7071, 4.9156, 20.1721)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68137E #297E13
analogous
#33137E #68137E #7E135E
triadic
#68137E #7E6813 #137E68
tetradic
#68137E #7E3313 #297E13 #135E7E
square
#68137E #7E3313 #297E13 #135E7E
split-complementary
#68137E #5E7E13 #137E33
monochromatic
#16041B #3C0B49 #68137E #941BB3 #BA2CDF

Accessibility & contrast

On white

10.59
#68137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#68137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68137E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68137E#FFFFFF#000000##FFFFFF
##68137E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68137e;
/* rgb */ color: rgb(104, 19, 126);
/* oklch */ color: oklch(38.9% 0.171 317.9);
Tailwind
colors: {
  custom: {
    50: '#975ea4',
    500: '#68137e',
    950: '#000000',
  },
}
SCSS
$custom: #68137e;
$custom-light: #975ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#68137e",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 287.664,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38906,
    "c": 0.17124,
    "h": 317.9
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#68137E
secondary
#52B439
accent
#F0375D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68137E

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

Preview Lab → · Contrast checker → · Palette generator →

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