#671B6B#671B6B

#671B6B is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.146 H 325.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#671B6B
RGBrgb(103, 27, 107)
HSLhsl(297, 60%, 26%)
HSVhsv(297, 75%, 42%)
CMYKcmyk(3.7%, 74.8%, 0%, 58%)
CIE-LABlab(25.95, 43.99, -29.49)
CIE-LCHlch(25.95, 52.96, 326.17°)
OKLaboklab(38.07% 0.1206 -0.0819)
OKLCHoklch(38.07% 0.146 325.8)
XYZxyz(8.6391, 4.7295, 14.3649)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B6B #1F6B1B
analogous
#3F1B6B #671B6B #6B1B47
triadic
#671B6B #6B671B #1B6B67
tetradic
#671B6B #6B3F1B #1F6B1B #1B476B
square
#671B6B #6B3F1B #1F6B1B #1B476B
split-complementary
#671B6B #476B1B #1B6B3F
monochromatic
#180618 #380F3A #671B6B #96279C #C435CC

Accessibility & contrast

On white

10.79
#671B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#671B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B6B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B6B#FFFFFF#000000##FFFFFF
##671B6B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376D
Deuteranopia (green-blind)
#2D4169
Tritanopia (blue-blind)
#6A2841
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #671b6b;
/* rgb */ color: rgb(103, 27, 107);
/* oklch */ color: oklch(38.1% 0.146 325.8);
Tailwind
colors: {
  custom: {
    50: '#956096',
    500: '#671b6b',
    950: '#000000',
  },
}
SCSS
$custom: #671b6b;
$custom-light: #956096;
$custom-dark: #000000;
JSON
{
  "hex": "#671b6b",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 297,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.14582,
    "h": 325.8
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#671B6B
secondary
#46A042
accent
#E3454D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #671B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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