#672A74#672A74

#672A74 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.4% C 0.133 H 320.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#672A74
RGBrgb(103, 42, 116)
HSLhsl(289, 47%, 31%)
HSVhsv(289, 64%, 45%)
CMYKcmyk(11.2%, 63.8%, 0%, 54.5%)
CIE-LABlab(28.90, 39.08, -30.56)
CIE-LCHlch(28.90, 49.61, 321.98°)
OKLaboklab(40.38% 0.1024 -0.0852)
OKLCHoklch(40.38% 0.133 320.2)
XYZxyz(9.5735, 5.8009, 17.1350)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A74 #37742A
analogous
#422A74 #672A74 #742A5C
triadic
#672A74 #74672A #2A7467
tetradic
#672A74 #74422A #37742A #2A5C74
square
#672A74 #74422A #37742A #2A5C74
split-complementary
#672A74 #5C742A #2A7442
monochromatic
#17091A #3F1A47 #672A74 #8F3AA1 #AF56C2

Accessibility & contrast

On white

9.72
#672A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#672A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A74
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A74#FFFFFF#000000##FFFFFF
##672A741.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184076
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#68364B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672a74;
/* rgb */ color: rgb(103, 42, 116);
/* oklch */ color: oklch(40.4% 0.133 320.2);
Tailwind
colors: {
  custom: {
    50: '#95689c',
    500: '#672a74',
    950: '#000000',
  },
}
SCSS
$custom: #672a74;
$custom-light: #95689c;
$custom-dark: #000000;
JSON
{
  "hex": "#672a74",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 289.459,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40382,
    "c": 0.13317,
    "h": 320.2
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#672A74
secondary
#62A654
accent
#D65169
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672A74

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

Preview Lab → · Contrast checker → · Palette generator →

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