#671E6C#671E6C

#671E6C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.4% C 0.143 H 325.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#671E6C
RGBrgb(103, 30, 108)
HSLhsl(296, 57%, 27%)
HSVhsv(296, 72%, 42%)
CMYKcmyk(4.6%, 72.2%, 0%, 57.6%)
CIE-LABlab(26.43, 42.98, -29.36)
CIE-LCHlch(26.43, 52.05, 325.66°)
OKLaboklab(38.44% 0.1173 -0.0816)
OKLCHoklch(38.44% 0.143 325.2)
XYZxyz(8.7644, 4.8954, 14.6677)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E6C #236C1E
analogous
#401E6C #671E6C #6C1E4A
triadic
#671E6C #6C671E #1E6C67
tetradic
#671E6C #6C401E #236C1E #1E4A6C
square
#671E6C #6C401E #236C1E #1E4A6C
split-complementary
#671E6C #4A6C1E #1E6C40
monochromatic
#170718 #39113C #671E6C #952B9C #C03CC9

Accessibility & contrast

On white

10.61
#671E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#671E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E6C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E6C#FFFFFF#000000##FFFFFF
##671E6C1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671e6c;
/* rgb */ color: rgb(103, 30, 108);
/* oklch */ color: oklch(38.4% 0.143 325.2);
Tailwind
colors: {
  custom: {
    50: '#956196',
    500: '#671e6c',
    950: '#000000',
  },
}
SCSS
$custom: #671e6c;
$custom-light: #956196;
$custom-dark: #000000;
JSON
{
  "hex": "#671e6c",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 108
  },
  "hsl": {
    "h": 296.154,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.14287,
    "h": 325.2
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#671E6C
secondary
#4BA045
accent
#E04852
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #671E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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