#671976#671976

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

Color values

HEX#671976
RGBrgb(103, 25, 118)
HSLhsl(290, 65%, 28%)
HSVhsv(290, 79%, 46%)
CMYKcmyk(12.7%, 78.8%, 0%, 53.7%)
CIE-LABlab(26.41, 46.86, -35.81)
CIE-LCHlch(26.41, 58.97, 322.61°)
OKLaboklab(38.63% 0.122 -0.1004)
OKLCHoklch(38.63% 0.158 320.5)
XYZxyz(9.2108, 4.8873, 17.5942)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671976 #287619
analogous
#391976 #671976 #761956
triadic
#671976 #766719 #197667
tetradic
#671976 #763919 #287619 #195676
square
#671976 #763919 #287619 #195676
split-complementary
#671976 #567619 #197639
monochromatic
#160519 #3B0E43 #671976 #9324A8 #BB35D4

Accessibility & contrast

On white

10.62
#671976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671976
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671976#FFFFFF#000000##FFFFFF
##6719761.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#234174
Tritanopia (blue-blind)
#682C47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671976;
/* rgb */ color: rgb(103, 25, 118);
/* oklch */ color: oklch(38.6% 0.158 320.5);
Tailwind
colors: {
  custom: {
    50: '#965f9e',
    500: '#671976',
    950: '#000000',
  },
}
SCSS
$custom: #671976;
$custom-light: #965f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#671976",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 290.323,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38633,
    "c": 0.15796,
    "h": 320.5
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#671976
secondary
#51AB40
accent
#E8405B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671976

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

Preview Lab → · Contrast checker → · Palette generator →

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