#68175F#68175F

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

Color values

HEX#68175F
RGBrgb(104, 23, 95)
HSLhsl(307, 64%, 25%)
HSVhsv(307, 78%, 41%)
CMYKcmyk(0%, 77.9%, 8.7%, 59.2%)
CIE-LABlab(24.90, 43.57, -23.32)
CIE-LCHlch(24.90, 49.42, 331.85°)
OKLaboklab(37.12% 0.1257 -0.064)
OKLCHoklch(37.12% 0.141 333)
XYZxyz(8.0809, 4.3828, 11.2446)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68175F #176820
analogous
#491768 #68175F #681736
triadic
#68175F #5F6817 #175F68
tetradic
#68175F #684917 #176820 #173668
square
#68175F #684917 #176820 #173668
split-complementary
#68175F #366817 #176849
monochromatic
#190617 #360C31 #68175F #9A228D #CC2DBB

Accessibility & contrast

On white

11.19
#68175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#68175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68175F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68175F#FFFFFF#000000##FFFFFF
##68175F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133461
Deuteranopia (green-blind)
#323F5D
Tritanopia (blue-blind)
#6D1F39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #68175f;
/* rgb */ color: rgb(104, 23, 95);
/* oklch */ color: oklch(37.1% 0.141 333.0);
Tailwind
colors: {
  custom: {
    50: '#965e8c',
    500: '#68175f',
    950: '#000000',
  },
}
SCSS
$custom: #68175f;
$custom-light: #965e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#68175f",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 306.667,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37123,
    "c": 0.1411,
    "h": 333
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#68175F
secondary
#3D9E47
accent
#E75341
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #68175F

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

Preview Lab → · Contrast checker → · Palette generator →

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