#68175E#68175E

#68175E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.140 H 333.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#68175E
RGBrgb(104, 23, 94)
HSLhsl(307, 64%, 25%)
HSVhsv(307, 78%, 41%)
CMYKcmyk(0%, 77.9%, 9.6%, 59.2%)
CIE-LABlab(24.84, 43.40, -22.75)
CIE-LCHlch(24.84, 49.01, 332.34°)
OKLaboklab(37.07% 0.1257 -0.0624)
OKLCHoklch(37.07% 0.14 333.6)
XYZxyz(8.0358, 4.3647, 11.0068)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68175E #176821
analogous
#491768 #68175E #681736
triadic
#68175E #5E6817 #175E68
tetradic
#68175E #684917 #176821 #173668
square
#68175E #684917 #176821 #173668
split-complementary
#68175E #366817 #176849
monochromatic
#190617 #360C31 #68175E #9A228B #CC2DB9

Accessibility & contrast

On white

11.21
#68175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#68175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68175E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68175E#FFFFFF#000000##FFFFFF
##68175E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#333F5C
Tritanopia (blue-blind)
#6D1F39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #68175e;
/* rgb */ color: rgb(104, 23, 94);
/* oklch */ color: oklch(37.1% 0.140 333.6);
Tailwind
colors: {
  custom: {
    50: '#965e8c',
    500: '#68175e',
    950: '#000000',
  },
}
SCSS
$custom: #68175e;
$custom-light: #965e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#68175e",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 307.407,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37065,
    "c": 0.1403,
    "h": 333.6
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#68175E
secondary
#3D9E49
accent
#E75541
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #68175E

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

Preview Lab → · Contrast checker → · Palette generator →

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