#671C78#671C78

#671C78 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.156 H 319.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#671C78
RGBrgb(103, 28, 120)
HSLhsl(289, 62%, 29%)
HSVhsv(289, 77%, 47%)
CMYKcmyk(14.2%, 76.7%, 0%, 52.9%)
CIE-LABlab(26.93, 46.15, -36.24)
CIE-LCHlch(26.93, 58.68, 321.85°)
OKLaboklab(39.05% 0.1188 -0.1017)
OKLCHoklch(39.05% 0.156 319.4)
XYZxyz(9.3985, 5.0706, 18.2493)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C78 #2D781C
analogous
#391C78 #671C78 #781C5B
triadic
#671C78 #78671C #1C7867
tetradic
#671C78 #78391C #2D781C #1C5B78
square
#671C78 #78391C #2D781C #1C5B78
split-complementary
#671C78 #5B781C #1C7839
monochromatic
#150619 #3C1046 #671C78 #9228AA #B63DD2

Accessibility & contrast

On white

10.43
#671C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#671C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C78
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C78#FFFFFF#000000##FFFFFF
##671C781.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#672F49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671c78;
/* rgb */ color: rgb(103, 28, 120);
/* oklch */ color: oklch(39.0% 0.156 319.4);
Tailwind
colors: {
  custom: {
    50: '#96619f',
    500: '#671c78',
    950: '#000000',
  },
}
SCSS
$custom: #671c78;
$custom-light: #96619f;
$custom-dark: #000000;
JSON
{
  "hex": "#671c78",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 288.913,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39049,
    "c": 0.15638,
    "h": 319.4
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#671C78
secondary
#57AC44
accent
#E54361
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671C78

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

Preview Lab → · Contrast checker → · Palette generator →

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