#671F78#671F78

#671F78 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.153 H 319.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#671F78
RGBrgb(103, 31, 120)
HSLhsl(289, 59%, 30%)
HSVhsv(289, 74%, 47%)
CMYKcmyk(14.2%, 74.2%, 0%, 52.9%)
CIE-LABlab(27.35, 44.96, -35.57)
CIE-LCHlch(27.35, 57.33, 321.65°)
OKLaboklab(39.35% 0.1157 -0.0997)
OKLCHoklch(39.35% 0.153 319.2)
XYZxyz(9.4732, 5.2201, 18.2742)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F78 #30781F
analogous
#3A1F78 #671F78 #781F5D
triadic
#671F78 #78671F #1F7867
tetradic
#671F78 #783A1F #30781F #1F5D78
square
#671F78 #783A1F #30781F #1F5D78
split-complementary
#671F78 #5D781F #1F783A
monochromatic
#150618 #3D1247 #671F78 #912CA9 #B443CE

Accessibility & contrast

On white

10.27
#671F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F78
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F78#FFFFFF#000000##FFFFFF
##671F781.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#254376
Tritanopia (blue-blind)
#673049
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671f78;
/* rgb */ color: rgb(103, 31, 120);
/* oklch */ color: oklch(39.3% 0.153 319.2);
Tailwind
colors: {
  custom: {
    50: '#95629f',
    500: '#671f78',
    950: '#000000',
  },
}
SCSS
$custom: #671f78;
$custom-light: #95629f;
$custom-dark: #000000;
JSON
{
  "hex": "#671f78",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 288.539,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39346,
    "c": 0.15274,
    "h": 319.2
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#671F78
secondary
#5AAB47
accent
#E24664
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #671F78

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

Preview Lab → · Contrast checker → · Palette generator →

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