#671877#671877

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

Color values

HEX#671877
RGBrgb(103, 24, 119)
HSLhsl(290, 66%, 28%)
HSVhsv(290, 80%, 47%)
CMYKcmyk(13.4%, 79.8%, 0%, 53.3%)
CIE-LABlab(26.36, 47.40, -36.53)
CIE-LCHlch(26.36, 59.85, 322.38°)
OKLaboklab(38.62% 0.1228 -0.1025)
OKLCHoklch(38.62% 0.16 320.1)
XYZxyz(9.2495, 4.8692, 17.9018)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671877 #287718
analogous
#371877 #671877 #771857
triadic
#671877 #776718 #187767
tetradic
#671877 #773718 #287718 #185777
square
#671877 #773718 #287718 #185777
split-complementary
#671877 #577718 #187737
monochromatic
#160519 #3B0E44 #671877 #9322AA #BB33D6

Accessibility & contrast

On white

10.64
#671877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671877
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671877#FFFFFF#000000##FFFFFF
##6718771.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671877;
/* rgb */ color: rgb(103, 24, 119);
/* oklch */ color: oklch(38.6% 0.160 320.1);
Tailwind
colors: {
  custom: {
    50: '#965f9f',
    500: '#671877',
    950: '#000000',
  },
}
SCSS
$custom: #671877;
$custom-light: #965f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#671877",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 289.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.15993,
    "h": 320.1
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#671877
secondary
#51AC3F
accent
#E93E5B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671877

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

Preview Lab → · Contrast checker → · Palette generator →

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