#68137F#68137F

#68137F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 39.0% C 0.172 H 317.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#68137F
RGBrgb(104, 19, 127)
HSLhsl(287, 74%, 29%)
HSVhsv(287, 85%, 50%)
CMYKcmyk(18.1%, 85%, 0%, 50.2%)
CIE-LABlab(26.57, 50.75, -41.26)
CIE-LCHlch(26.57, 65.41, 320.89°)
OKLaboklab(38.98% 0.1269 -0.1163)
OKLCHoklch(38.98% 0.172 317.5)
XYZxyz(9.7720, 4.9416, 20.5136)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68137F #2A7F13
analogous
#32137F #68137F #7F1360
triadic
#68137F #7F6813 #137F68
tetradic
#68137F #7F3213 #2A7F13 #13607F
square
#68137F #7F3213 #2A7F13 #13607F
split-complementary
#68137F #607F13 #137F32
monochromatic
#16041B #3C0B4A #68137F #941BB4 #B92DE0

Accessibility & contrast

On white

10.56
#68137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#68137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68137F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68137F#FFFFFF#000000##FFFFFF
##68137F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68137f;
/* rgb */ color: rgb(104, 19, 127);
/* oklch */ color: oklch(39.0% 0.172 317.5);
Tailwind
colors: {
  custom: {
    50: '#975ea5',
    500: '#68137f',
    950: '#000000',
  },
}
SCSS
$custom: #68137f;
$custom-light: #975ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#68137f",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 287.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.1721,
    "h": 317.5
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#68137F
secondary
#54B439
accent
#F1375F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68137F

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

Preview Lab → · Contrast checker → · Palette generator →

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