#671B8C#671B8C

#671B8C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 311.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#671B8C
RGBrgb(103, 27, 140)
HSLhsl(280, 68%, 33%)
HSVhsv(280, 81%, 55%)
CMYKcmyk(26.4%, 80.7%, 0%, 45.1%)
CIE-LABlab(28.28, 50.71, -46.64)
CIE-LCHlch(28.28, 68.90, 317.40°)
OKLaboklab(40.46% 0.1165 -0.1322)
OKLCHoklch(40.46% 0.176 311.4)
XYZxyz(10.7182, 5.5612, 25.3147)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B8C #408C1B
analogous
#2E1B8C #671B8C #8C1B78
triadic
#671B8C #8C671B #1B8C67
tetradic
#671B8C #8C2E1B #408C1B #1B788C
square
#671B8C #8C2E1B #408C1B #1B788C
split-complementary
#671B8C #788C1B #1B8C2E
monochromatic
#1C0725 #411159 #671B8C #8D25BF #AA46DB

Accessibility & contrast

On white

9.94
#671B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#671B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B8C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B8C#FFFFFF#000000##FFFFFF
##671B8C1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#623754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671b8c;
/* rgb */ color: rgb(103, 27, 140);
/* oklch */ color: oklch(40.5% 0.176 311.4);
Tailwind
colors: {
  custom: {
    50: '#9761ae',
    500: '#671b8c',
    950: '#000000',
  },
}
SCSS
$custom: #671b8c;
$custom-light: #9761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671b8c",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 280.354,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.17617,
    "h": 311.4
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#671B8C
secondary
#6DBD46
accent
#EB3D76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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