#672976#672976

#672976 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.4% C 0.137 H 319.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#672976
RGBrgb(103, 41, 118)
HSLhsl(288, 48%, 31%)
HSVhsv(288, 65%, 46%)
CMYKcmyk(12.7%, 65.3%, 0%, 53.7%)
CIE-LABlab(28.85, 40.01, -31.92)
CIE-LCHlch(28.85, 51.18, 321.41°)
OKLaboklab(40.38% 0.1038 -0.0891)
OKLCHoklch(40.38% 0.137 319.3)
XYZxyz(9.6561, 5.7779, 17.7426)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672976 #387629
analogous
#402976 #672976 #76295E
triadic
#672976 #766729 #297667
tetradic
#672976 #764029 #387629 #295E76
square
#672976 #764029 #387629 #295E76
split-complementary
#672976 #5E7629 #297640
monochromatic
#18091B #3F1949 #672976 #8F39A3 #AE55C4

Accessibility & contrast

On white

9.74
#672976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#672976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672976
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672976#FFFFFF#000000##FFFFFF
##6729761.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#2E4674
Tritanopia (blue-blind)
#67364B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672976;
/* rgb */ color: rgb(103, 41, 118);
/* oklch */ color: oklch(40.4% 0.137 319.3);
Tailwind
colors: {
  custom: {
    50: '#95679e',
    500: '#672976',
    950: '#000000',
  },
}
SCSS
$custom: #672976;
$custom-light: #95679e;
$custom-dark: #000000;
JSON
{
  "hex": "#672976",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 288.312,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40378,
    "c": 0.13678,
    "h": 319.3
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#672976
secondary
#63A853
accent
#D8506A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672976

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

Preview Lab → · Contrast checker → · Palette generator →

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