#671778#671778

#671778 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.162 H 319.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#671778
RGBrgb(103, 23, 120)
HSLhsl(289, 68%, 28%)
HSVhsv(289, 81%, 47%)
CMYKcmyk(14.2%, 80.8%, 0%, 52.9%)
CIE-LABlab(26.31, 47.94, -37.25)
CIE-LCHlch(26.31, 60.71, 322.15°)
OKLaboklab(38.61% 0.1235 -0.1046)
OKLCHoklch(38.61% 0.162 319.7)
XYZxyz(9.2897, 4.8529, 18.2130)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671778 #287817
analogous
#371778 #671778 #781758
triadic
#671778 #786717 #177867
tetradic
#671778 #783717 #287817 #175878
square
#671778 #783717 #287817 #175878
split-complementary
#671778 #587817 #177837
monochromatic
#16051A #3B0D45 #671778 #9321AB #BB32D8

Accessibility & contrast

On white

10.66
#671778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#671778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671778
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671778#FFFFFF#000000##FFFFFF
##6717781.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#204176
Tritanopia (blue-blind)
#672C47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671778;
/* rgb */ color: rgb(103, 23, 120);
/* oklch */ color: oklch(38.6% 0.162 319.7);
Tailwind
colors: {
  custom: {
    50: '#965f9f',
    500: '#671778',
    950: '#000000',
  },
}
SCSS
$custom: #671778;
$custom-light: #965f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#671778",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 289.485,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38607,
    "c": 0.16185,
    "h": 319.7
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#671778
secondary
#51AD3E
accent
#EB3D5C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #671778

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

Preview Lab → · Contrast checker → · Palette generator →

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