#672A76#672A76

#672A76 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.135 H 319.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#672A76
RGBrgb(103, 42, 118)
HSLhsl(288, 48%, 31%)
HSVhsv(288, 64%, 46%)
CMYKcmyk(12.7%, 64.4%, 0%, 53.7%)
CIE-LABlab(29.03, 39.51, -31.63)
CIE-LCHlch(29.03, 50.62, 321.32°)
OKLaboklab(40.51% 0.1024 -0.0883)
OKLCHoklch(40.51% 0.135 319.2)
XYZxyz(9.6911, 5.8479, 17.7543)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A76 #39762A
analogous
#412A76 #672A76 #762A5F
triadic
#672A76 #76672A #2A7667
tetradic
#672A76 #76412A #39762A #2A5F76
square
#672A76 #76412A #39762A #2A5F76
split-complementary
#672A76 #5F762A #2A7641
monochromatic
#180A1C #401A49 #672A76 #8E3AA3 #AE57C3

Accessibility & contrast

On white

9.68
#672A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#672A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A76
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A76#FFFFFF#000000##FFFFFF
##672A761.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#2F4774
Tritanopia (blue-blind)
#67374C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672a76;
/* rgb */ color: rgb(103, 42, 118);
/* oklch */ color: oklch(40.5% 0.135 319.2);
Tailwind
colors: {
  custom: {
    50: '#95689e',
    500: '#672a76',
    950: '#000000',
  },
}
SCSS
$custom: #672a76;
$custom-light: #95689e;
$custom-dark: #000000;
JSON
{
  "hex": "#672a76",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 288.158,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.13524,
    "h": 319.2
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#672A76
secondary
#65A854
accent
#D7516B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672A76

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

Preview Lab → · Contrast checker → · Palette generator →

#672A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva