#671B74#671B74

#671B74 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.154 H 321.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#671B74
RGBrgb(103, 27, 116)
HSLhsl(291, 62%, 28%)
HSVhsv(291, 77%, 45%)
CMYKcmyk(11.2%, 76.7%, 0%, 54.5%)
CIE-LABlab(26.53, 45.73, -34.34)
CIE-LCHlch(26.53, 57.19, 323.09°)
OKLaboklab(38.67% 0.1202 -0.0961)
OKLCHoklch(38.67% 0.154 321.4)
XYZxyz(9.1375, 4.9289, 16.9897)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B74 #28741B
analogous
#3A1B74 #671B74 #741B54
triadic
#671B74 #74671B #1B7467
tetradic
#671B74 #743A1B #28741B #1B5474
square
#671B74 #743A1B #28741B #1B5474
split-complementary
#671B74 #54741B #1B743A
monochromatic
#160619 #3B0F42 #671B74 #9327A6 #BB39D1

Accessibility & contrast

On white

10.58
#671B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B74
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B74#FFFFFF#000000##FFFFFF
##671B741.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#264172
Tritanopia (blue-blind)
#682C46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671b74;
/* rgb */ color: rgb(103, 27, 116);
/* oklch */ color: oklch(38.7% 0.154 321.4);
Tailwind
colors: {
  custom: {
    50: '#96609c',
    500: '#671b74',
    950: '#000000',
  },
}
SCSS
$custom: #671b74;
$custom-light: #96609c;
$custom-dark: #000000;
JSON
{
  "hex": "#671b74",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 291.236,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38675,
    "c": 0.15389,
    "h": 321.4
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#671B74
secondary
#51A942
accent
#E5425A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671B74

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

Preview Lab → · Contrast checker → · Palette generator →

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