#672F82#672F82

#672F82 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.140 H 313.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#672F82
RGBrgb(103, 47, 130)
HSLhsl(280, 47%, 35%)
HSVhsv(280, 64%, 51%)
CMYKcmyk(20.8%, 63.8%, 0%, 49%)
CIE-LABlab(30.71, 39.63, -36.50)
CIE-LCHlch(30.71, 53.88, 317.36°)
OKLaboklab(41.97% 0.0959 -0.1025)
OKLCHoklch(41.97% 0.14 313.1)
XYZxyz(10.6386, 6.5286, 21.8145)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F82 #4A822F
analogous
#3E2F82 #672F82 #822F74
triadic
#672F82 #82672F #2F8267
tetradic
#672F82 #823E2F #4A822F #2F7482
square
#672F82 #823E2F #4A822F #2F7482
split-complementary
#672F82 #74822F #2F823E
monochromatic
#200E28 #431F55 #672F82 #8B3FAF #A764C7

Accessibility & contrast

On white

9.11
#672F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F82
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F82#FFFFFF#000000##FFFFFF
##672F821.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4585
Deuteranopia (green-blind)
#2A4A80
Tritanopia (blue-blind)
#643E54
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672f82;
/* rgb */ color: rgb(103, 47, 130);
/* oklch */ color: oklch(42.0% 0.140 313.1);
Tailwind
colors: {
  custom: {
    50: '#956ba7',
    500: '#672f82',
    950: '#000000',
  },
}
SCSS
$custom: #672f82;
$custom-light: #956ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#672f82",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 280.482,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41971,
    "c": 0.14038,
    "h": 313.1
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#672F82
secondary
#79AE5F
accent
#D7517D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #672F82

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

Preview Lab → · Contrast checker → · Palette generator →

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