#671978#671978

#671978 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.160 H 319.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#671978
RGBrgb(103, 25, 120)
HSLhsl(289, 66%, 28%)
HSVhsv(289, 79%, 47%)
CMYKcmyk(14.2%, 79.2%, 0%, 52.9%)
CIE-LABlab(26.55, 47.25, -36.86)
CIE-LCHlch(26.55, 59.93, 322.04°)
OKLaboklab(38.78% 0.1217 -0.1035)
OKLCHoklch(38.78% 0.16 319.6)
XYZxyz(9.3309, 4.9354, 18.2268)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671978 #2A7819
analogous
#371978 #671978 #781959
triadic
#671978 #786719 #197867
tetradic
#671978 #783719 #2A7819 #195978
square
#671978 #783719 #2A7819 #195978
split-complementary
#671978 #597819 #197837
monochromatic
#160519 #3C0E45 #671978 #9224AB #B936D5

Accessibility & contrast

On white

10.57
#671978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#671978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671978
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671978#FFFFFF#000000##FFFFFF
##6719781.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671978;
/* rgb */ color: rgb(103, 25, 120);
/* oklch */ color: oklch(38.8% 0.160 319.6);
Tailwind
colors: {
  custom: {
    50: '#96609f',
    500: '#671978',
    950: '#000000',
  },
}
SCSS
$custom: #671978;
$custom-light: #96609f;
$custom-dark: #000000;
JSON
{
  "hex": "#671978",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 289.263,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.15976,
    "h": 319.6
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#671978
secondary
#54AD40
accent
#E83F5E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #671978

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

Preview Lab → · Contrast checker → · Palette generator →

#671978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva