#671B78#671B78

#671B78 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.158 H 319.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#671B78
RGBrgb(103, 27, 120)
HSLhsl(289, 63%, 29%)
HSVhsv(289, 78%, 47%)
CMYKcmyk(14.2%, 77.5%, 0%, 52.9%)
CIE-LABlab(26.80, 46.52, -36.46)
CIE-LCHlch(26.80, 59.11, 321.92°)
OKLaboklab(38.96% 0.1198 -0.1023)
OKLCHoklch(38.96% 0.158 319.5)
XYZxyz(9.3752, 5.0240, 18.2416)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B78 #2C781B
analogous
#391B78 #671B78 #781B5B
triadic
#671B78 #78671B #1B7867
tetradic
#671B78 #78391B #2C781B #1B5B78
square
#671B78 #78391B #2C781B #1B5B78
split-complementary
#671B78 #5B781B #1B7839
monochromatic
#150619 #3C1046 #671B78 #9226AA #B73BD3

Accessibility & contrast

On white

10.48
#671B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#671B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B78
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B78#FFFFFF#000000##FFFFFF
##671B781.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#672E48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671b78;
/* rgb */ color: rgb(103, 27, 120);
/* oklch */ color: oklch(39.0% 0.158 319.5);
Tailwind
colors: {
  custom: {
    50: '#96609f',
    500: '#671b78',
    950: '#000000',
  },
}
SCSS
$custom: #671b78;
$custom-light: #96609f;
$custom-dark: #000000;
JSON
{
  "hex": "#671b78",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 289.032,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.15754,
    "h": 319.5
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#671B78
secondary
#56AC43
accent
#E64160
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671B78

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

Preview Lab → · Contrast checker → · Palette generator →

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