#672A81#672A81

#672A81 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.147 H 314.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#672A81
RGBrgb(103, 42, 129)
HSLhsl(282, 51%, 34%)
HSVhsv(282, 67%, 51%)
CMYKcmyk(20.2%, 67.4%, 0%, 49.4%)
CIE-LABlab(29.73, 41.93, -37.45)
CIE-LCHlch(29.73, 56.22, 318.23°)
OKLaboklab(41.24% 0.1023 -0.1053)
OKLCHoklch(41.24% 0.147 314.2)
XYZxyz(10.3833, 6.1248, 21.3999)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A81 #44812A
analogous
#3B2A81 #672A81 #812A6F
triadic
#672A81 #81672A #2A8167
tetradic
#672A81 #813B2A #44812A #2A6F81
square
#672A81 #813B2A #44812A #2A6F81
split-complementary
#672A81 #6F812A #2A813B
monochromatic
#1D0C25 #421B53 #672A81 #8C39AF #A95CCA

Accessibility & contrast

On white

9.44
#672A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#672A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A81
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A81#FFFFFF#000000##FFFFFF
##672A811.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004384
Deuteranopia (green-blind)
#26487F
Tritanopia (blue-blind)
#653B52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672a81;
/* rgb */ color: rgb(103, 42, 129);
/* oklch */ color: oklch(41.2% 0.147 314.2);
Tailwind
colors: {
  custom: {
    50: '#9568a6',
    500: '#672a81',
    950: '#000000',
  },
}
SCSS
$custom: #672a81;
$custom-light: #9568a6;
$custom-dark: #000000;
JSON
{
  "hex": "#672a81",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 129
  },
  "hsl": {
    "h": 282.069,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.1468,
    "h": 314.2
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#672A81
secondary
#72AF57
accent
#DA4D78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #672A81

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

Preview Lab → · Contrast checker → · Palette generator →

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