#671168#671168

#671168 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.154 H 327.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#671168
RGBrgb(103, 17, 104)
HSLhsl(299, 72%, 24%)
HSVhsv(299, 84%, 41%)
CMYKcmyk(1%, 83.7%, 0%, 59.2%)
CIE-LABlab(24.59, 46.80, -29.71)
CIE-LCHlch(24.59, 55.43, 327.60°)
OKLaboklab(37.04% 0.1301 -0.0825)
OKLCHoklch(37.04% 0.154 327.6)
XYZxyz(8.2925, 4.2846, 13.4843)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671168 #126811
analogous
#3B1168 #671168 #68113D
triadic
#671168 #686711 #116867
tetradic
#671168 #683B11 #126811 #113D68
square
#671168 #683B11 #126811 #113D68
split-complementary
#671168 #3D6811 #11683B
monochromatic
#1A041A #330833 #671168 #9B1A9D #CF22D1

Accessibility & contrast

On white

11.31
#671168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#671168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671168
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671168#FFFFFF#000000##FFFFFF
##6711681.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#2A3E66
Tritanopia (blue-blind)
#6A213D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #671168;
/* rgb */ color: rgb(103, 17, 104);
/* oklch */ color: oklch(37.0% 0.154 327.6);
Tailwind
colors: {
  custom: {
    50: '#965c93',
    500: '#671168',
    950: '#000000',
  },
}
SCSS
$custom: #671168;
$custom-light: #965c93;
$custom-dark: #000000;
JSON
{
  "hex": "#671168",
  "rgb": {
    "r": 103,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 299.31,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37043,
    "c": 0.15408,
    "h": 327.6
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#671168
secondary
#36A035
accent
#EF393B
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E040D
muted
#7E797E

Preview Lab

Preview with #671168

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

Preview Lab → · Contrast checker → · Palette generator →

#671168 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva