#671977#671977

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

Color values

HEX#671977
RGBrgb(103, 25, 119)
HSLhsl(290, 65%, 28%)
HSVhsv(290, 79%, 47%)
CMYKcmyk(13.4%, 79%, 0%, 53.3%)
CIE-LABlab(26.48, 47.05, -36.34)
CIE-LCHlch(26.48, 59.45, 322.32°)
OKLaboklab(38.7% 0.1218 -0.1019)
OKLCHoklch(38.7% 0.159 320.1)
XYZxyz(9.2705, 4.9112, 17.9088)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671977 #297719
analogous
#381977 #671977 #771958
triadic
#671977 #776719 #197767
tetradic
#671977 #773819 #297719 #195877
square
#671977 #773819 #297719 #195877
split-complementary
#671977 #587719 #197738
monochromatic
#160519 #3B0E44 #671977 #9324AA #BA36D5

Accessibility & contrast

On white

10.59
#671977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#671977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671977
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671977#FFFFFF#000000##FFFFFF
##6719771.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671977;
/* rgb */ color: rgb(103, 25, 119);
/* oklch */ color: oklch(38.7% 0.159 320.1);
Tailwind
colors: {
  custom: {
    50: '#965f9f',
    500: '#671977',
    950: '#000000',
  },
}
SCSS
$custom: #671977;
$custom-light: #965f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#671977",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 289.787,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38704,
    "c": 0.15886,
    "h": 320.1
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#671977
secondary
#52AC40
accent
#E8405C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671977

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

Preview Lab → · Contrast checker → · Palette generator →

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