#672D82#672D82

#672D82 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.7% C 0.143 H 313.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#672D82
RGBrgb(103, 45, 130)
HSLhsl(281, 49%, 34%)
HSVhsv(281, 65%, 51%)
CMYKcmyk(20.8%, 65.4%, 0%, 49%)
CIE-LABlab(30.33, 40.66, -37.10)
CIE-LCHlch(30.33, 55.04, 317.62°)
OKLaboklab(41.7% 0.0985 -0.1043)
OKLCHoklch(41.7% 0.143 313.4)
XYZxyz(10.5605, 6.3723, 21.7885)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D82 #48822D
analogous
#3D2D82 #672D82 #822D73
triadic
#672D82 #82672D #2D8267
tetradic
#672D82 #823D2D #48822D #2D7382
square
#672D82 #823D2D #48822D #2D7382
split-complementary
#672D82 #73822D #2D823D
monochromatic
#1F0E27 #431D55 #672D82 #8B3DAF #A861C8

Accessibility & contrast

On white

9.23
#672D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#672D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D82
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D82#FFFFFF#000000##FFFFFF
##672D821.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084485
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#643D53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672d82;
/* rgb */ color: rgb(103, 45, 130);
/* oklch */ color: oklch(41.7% 0.143 313.4);
Tailwind
colors: {
  custom: {
    50: '#956aa7',
    500: '#672d82',
    950: '#000000',
  },
}
SCSS
$custom: #672d82;
$custom-light: #956aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#672d82",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 280.941,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.14343,
    "h": 313.4
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#672D82
secondary
#76AF5C
accent
#D8507B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #672D82

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

Preview Lab → · Contrast checker → · Palette generator →

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