#671B8B#671B8B

#671B8B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.175 H 311.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#671B8B
RGBrgb(103, 27, 139)
HSLhsl(281, 67%, 33%)
HSVhsv(281, 81%, 55%)
CMYKcmyk(25.9%, 80.6%, 0%, 45.5%)
CIE-LABlab(28.20, 50.50, -46.15)
CIE-LCHlch(28.20, 68.41, 317.58°)
OKLaboklab(40.38% 0.1167 -0.1307)
OKLCHoklch(40.38% 0.175 311.7)
XYZxyz(10.6448, 5.5318, 24.9281)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B8B #3F8B1B
analogous
#2F1B8B #671B8B #8B1B77
triadic
#671B8B #8B671B #1B8B67
tetradic
#671B8B #8B2F1B #3F8B1B #1B778B
square
#671B8B #8B2F1B #3F8B1B #1B778B
split-complementary
#671B8B #778B1B #1B8B2F
monochromatic
#1B0725 #411158 #671B8B #8D25BE #AB45DB

Accessibility & contrast

On white

9.97
#671B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671B8B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B8B#FFFFFF#000000##FFFFFF
##671B8B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#014489
Tritanopia (blue-blind)
#623753
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671b8b;
/* rgb */ color: rgb(103, 27, 139);
/* oklch */ color: oklch(40.4% 0.175 311.7);
Tailwind
colors: {
  custom: {
    50: '#9761ae',
    500: '#671b8b',
    950: '#000000',
  },
}
SCSS
$custom: #671b8b;
$custom-light: #9761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671b8b",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 280.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40382,
    "c": 0.17522,
    "h": 311.7
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#671B8B
secondary
#6CBC45
accent
#EA3D75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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