#672C81#672C81

#672C81 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.144 H 313.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#672C81
RGBrgb(103, 44, 129)
HSLhsl(282, 49%, 34%)
HSVhsv(282, 66%, 51%)
CMYKcmyk(20.2%, 65.9%, 0%, 49.4%)
CIE-LABlab(30.08, 40.94, -36.87)
CIE-LCHlch(30.08, 55.09, 317.99°)
OKLaboklab(41.5% 0.0998 -0.1036)
OKLCHoklch(41.5% 0.144 313.9)
XYZxyz(10.4560, 6.2702, 21.4241)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C81 #46812C
analogous
#3D2C81 #672C81 #812C71
triadic
#672C81 #81672C #2C8167
tetradic
#672C81 #813D2C #46812C #2C7181
square
#672C81 #813D2C #46812C #2C7181
split-complementary
#672C81 #71812C #2C813D
monochromatic
#1E0D26 #431C53 #672C81 #8B3CAF #A85FC8

Accessibility & contrast

On white

9.32
#672C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#672C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C81
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C81#FFFFFF#000000##FFFFFF
##672C811.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074484
Deuteranopia (green-blind)
#28487F
Tritanopia (blue-blind)
#653C52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672c81;
/* rgb */ color: rgb(103, 44, 129);
/* oklch */ color: oklch(41.5% 0.144 313.9);
Tailwind
colors: {
  custom: {
    50: '#9569a6',
    500: '#672c81',
    950: '#000000',
  },
}
SCSS
$custom: #672c81;
$custom-light: #9569a6;
$custom-dark: #000000;
JSON
{
  "hex": "#672c81",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 281.647,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41499,
    "c": 0.14385,
    "h": 313.9
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#672C81
secondary
#74AF5A
accent
#D94F79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #672C81

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

Preview Lab → · Contrast checker → · Palette generator →

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