#671F6C#671F6C

#671F6C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.142 H 325.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#671F6C
RGBrgb(103, 31, 108)
HSLhsl(296, 55%, 27%)
HSVhsv(296, 71%, 42%)
CMYKcmyk(4.6%, 71.3%, 0%, 57.6%)
CIE-LABlab(26.58, 42.57, -29.13)
CIE-LCHlch(26.58, 51.58, 325.62°)
OKLaboklab(38.55% 0.1161 -0.0809)
OKLCHoklch(38.55% 0.142 325.1)
XYZxyz(8.7901, 4.9468, 14.6763)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F6C #246C1F
analogous
#411F6C #671F6C #6C1F4B
triadic
#671F6C #6C671F #1F6C67
tetradic
#671F6C #6C411F #246C1F #1F4B6C
square
#671F6C #6C411F #246C1F #1F4B6C
split-complementary
#671F6C #4B6C1F #1F6C41
monochromatic
#170718 #3A113C #671F6C #942D9C #BF3EC8

Accessibility & contrast

On white

10.56
#671F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#671F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F6C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F6C#FFFFFF#000000##FFFFFF
##671F6C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396E
Deuteranopia (green-blind)
#2E426A
Tritanopia (blue-blind)
#692B43
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671f6c;
/* rgb */ color: rgb(103, 31, 108);
/* oklch */ color: oklch(38.5% 0.142 325.1);
Tailwind
colors: {
  custom: {
    50: '#956296',
    500: '#671f6c',
    950: '#000000',
  },
}
SCSS
$custom: #671f6c;
$custom-light: #956296;
$custom-dark: #000000;
JSON
{
  "hex": "#671f6c",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 108
  },
  "hsl": {
    "h": 296.104,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.14153,
    "h": 325.1
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#671F6C
secondary
#4CA047
accent
#DF4953
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #671F6C

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

Preview Lab → · Contrast checker → · Palette generator →

#671F6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva