#671E8B#671E8B

#671E8B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.172 H 311.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#671E8B
RGBrgb(103, 30, 139)
HSLhsl(280, 64%, 33%)
HSVhsv(280, 78%, 55%)
CMYKcmyk(25.9%, 78.4%, 0%, 45.5%)
CIE-LABlab(28.58, 49.39, -45.53)
CIE-LCHlch(28.58, 67.17, 317.33°)
OKLaboklab(40.65% 0.114 -0.1289)
OKLCHoklch(40.65% 0.172 311.5)
XYZxyz(10.7171, 5.6765, 24.9522)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E8B #428B1E
analogous
#301E8B #671E8B #8B1E78
triadic
#671E8B #8B671E #1E8B67
tetradic
#671E8B #8B301E #428B1E #1E788B
square
#671E8B #8B301E #428B1E #1E788B
split-complementary
#671E8B #788B1E #1E8B30
monochromatic
#1C0826 #421359 #671E8B #8C29BD #AA4BD8

Accessibility & contrast

On white

9.84
#671E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#671E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E8B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E8B#FFFFFF#000000##FFFFFF
##671E8B1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671e8b;
/* rgb */ color: rgb(103, 30, 139);
/* oklch */ color: oklch(40.7% 0.172 311.5);
Tailwind
colors: {
  custom: {
    50: '#9763ae',
    500: '#671e8b',
    950: '#000000',
  },
}
SCSS
$custom: #671e8b;
$custom-light: #9763ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671e8b",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 280.183,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.17211,
    "h": 311.5
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#671E8B
secondary
#6FBB4A
accent
#E74078
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #671E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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