#671D8B#671D8B

#671D8B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.173 H 311.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#671D8B
RGBrgb(103, 29, 139)
HSLhsl(280, 65%, 33%)
HSVhsv(280, 79%, 55%)
CMYKcmyk(25.9%, 79.1%, 0%, 45.5%)
CIE-LABlab(28.45, 49.77, -45.74)
CIE-LCHlch(28.45, 67.60, 317.42°)
OKLaboklab(40.56% 0.1149 -0.1295)
OKLCHoklch(40.56% 0.173 311.6)
XYZxyz(10.6922, 5.6267, 24.9439)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D8B #418B1D
analogous
#301D8B #671D8B #8B1D78
triadic
#671D8B #8B671D #1D8B67
tetradic
#671D8B #8B301D #418B1D #1D788B
square
#671D8B #8B301D #418B1D #1D788B
split-complementary
#671D8B #788B1D #1D8B30
monochromatic
#1C0826 #411258 #671D8B #8D28BE #AA49D9

Accessibility & contrast

On white

9.88
#671D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D8B
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D8B#FFFFFF#000000##FFFFFF
##671D8B1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#054489
Tritanopia (blue-blind)
#623854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671d8b;
/* rgb */ color: rgb(103, 29, 139);
/* oklch */ color: oklch(40.6% 0.173 311.6);
Tailwind
colors: {
  custom: {
    50: '#9762ae',
    500: '#671d8b',
    950: '#000000',
  },
}
SCSS
$custom: #671d8b;
$custom-light: #9762ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671d8b",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 280.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.17318,
    "h": 311.6
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#671D8B
secondary
#6EBB49
accent
#E83F77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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