#68175B#68175B

#68175B is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.138 H 335.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#68175B
RGBrgb(104, 23, 91)
HSLhsl(310, 64%, 25%)
HSVhsv(310, 78%, 41%)
CMYKcmyk(0%, 77.9%, 12.5%, 59.2%)
CIE-LABlab(24.68, 42.91, -21.03)
CIE-LCHlch(24.68, 47.78, 333.89°)
OKLaboklab(36.89% 0.1254 -0.0574)
OKLCHoklch(36.89% 0.138 335.4)
XYZxyz(7.9037, 4.3119, 10.3115)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68175B #176824
analogous
#4D1768 #68175B #681732
triadic
#68175B #5B6817 #175B68
tetradic
#68175B #684D17 #176824 #173268
square
#68175B #684D17 #176824 #173268
split-complementary
#68175B #326817 #17684D
monochromatic
#190616 #360C2F #68175B #9A2287 #CC2DB3

Accessibility & contrast

On white

11.28
#68175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#68175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68175B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68175B#FFFFFF#000000##FFFFFF
##68175B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335D
Deuteranopia (green-blind)
#343F59
Tritanopia (blue-blind)
#6E1D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #68175b;
/* rgb */ color: rgb(104, 23, 91);
/* oklch */ color: oklch(36.9% 0.138 335.4);
Tailwind
colors: {
  custom: {
    50: '#965d89',
    500: '#68175b',
    950: '#000000',
  },
}
SCSS
$custom: #68175b;
$custom-light: #965d89;
$custom-dark: #000000;
JSON
{
  "hex": "#68175b",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 309.63,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36892,
    "c": 0.13795,
    "h": 335.4
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#68175B
secondary
#3D9E4C
accent
#E75C41
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #68175B

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

Preview Lab → · Contrast checker → · Palette generator →

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