#68175D#68175D

#68175D is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.140 H 334.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#68175D
RGBrgb(104, 23, 93)
HSLhsl(308, 64%, 25%)
HSVhsv(308, 78%, 41%)
CMYKcmyk(0%, 77.9%, 10.6%, 59.2%)
CIE-LABlab(24.79, 43.24, -22.18)
CIE-LCHlch(24.79, 48.59, 332.85°)
OKLaboklab(37.01% 0.1256 -0.0607)
OKLCHoklch(37.01% 0.14 334.2)
XYZxyz(7.9912, 4.3469, 10.7720)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68175D #176822
analogous
#4A1768 #68175D #681735
triadic
#68175D #5D6817 #175D68
tetradic
#68175D #684A17 #176822 #173568
square
#68175D #684A17 #176822 #173568
split-complementary
#68175D #356817 #17684A
monochromatic
#190616 #360C30 #68175D #9A228A #CC2DB7

Accessibility & contrast

On white

11.23
#68175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68175D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68175D#FFFFFF#000000##FFFFFF
##68175D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#333F5B
Tritanopia (blue-blind)
#6D1E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #68175d;
/* rgb */ color: rgb(104, 23, 93);
/* oklch */ color: oklch(37.0% 0.140 334.2);
Tailwind
colors: {
  custom: {
    50: '#965e8b',
    500: '#68175d',
    950: '#000000',
  },
}
SCSS
$custom: #68175d;
$custom-light: #965e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#68175d",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 308.148,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.13951,
    "h": 334.2
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#68175D
secondary
#3D9E4A
accent
#E75841
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #68175D

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

Preview Lab → · Contrast checker → · Palette generator →

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