#672A84#672A84

#672A84 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 312.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#672A84
RGBrgb(103, 42, 132)
HSLhsl(281, 52%, 34%)
HSVhsv(281, 68%, 52%)
CMYKcmyk(22%, 68.2%, 0%, 48.2%)
CIE-LABlab(29.93, 42.61, -39.00)
CIE-LCHlch(29.93, 57.76, 317.53°)
OKLaboklab(41.45% 0.1021 -0.1098)
OKLCHoklch(41.45% 0.15 312.9)
XYZxyz(10.5856, 6.2057, 22.4655)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A84 #47842A
analogous
#3A2A84 #672A84 #842A74
triadic
#672A84 #84672A #2A8467
tetradic
#672A84 #843A2A #47842A #2A7484
square
#672A84 #843A2A #47842A #2A7484
split-complementary
#672A84 #74842A #2A843A
monochromatic
#1F0C27 #431B56 #672A84 #8B39B2 #A85DCB

Accessibility & contrast

On white

9.37
#672A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A84
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A84#FFFFFF#000000##FFFFFF
##672A841.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#234882
Tritanopia (blue-blind)
#643C53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672a84;
/* rgb */ color: rgb(103, 42, 132);
/* oklch */ color: oklch(41.4% 0.150 312.9);
Tailwind
colors: {
  custom: {
    50: '#9568a8',
    500: '#672a84',
    950: '#000000',
  },
}
SCSS
$custom: #672a84;
$custom-light: #9568a8;
$custom-dark: #000000;
JSON
{
  "hex": "#672a84",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 280.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.14998,
    "h": 312.9
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#672A84
secondary
#75B159
accent
#DB4D7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672A84

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

Preview Lab → · Contrast checker → · Palette generator →

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