#672E71#672E71

#672E71 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.124 H 321.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#672E71
RGBrgb(103, 46, 113)
HSLhsl(291, 42%, 31%)
HSVhsv(291, 59%, 44%)
CMYKcmyk(8.8%, 59.3%, 0%, 55.7%)
CIE-LABlab(29.49, 36.38, -27.72)
CIE-LCHlch(29.49, 45.74, 322.69°)
OKLaboklab(40.75% 0.0966 -0.077)
OKLCHoklch(40.75% 0.124 321.5)
XYZxyz(9.5508, 6.0303, 16.2805)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E71 #38712E
analogous
#452E71 #672E71 #712E59
triadic
#672E71 #71672E #2E7167
tetradic
#672E71 #71452E #38712E #2E5971
square
#672E71 #71452E #38712E #2E5971
split-complementary
#672E71 #59712E #2E7145
monochromatic
#180B1A #3F1C46 #672E71 #8F409C #AE5DBD

Accessibility & contrast

On white

9.52
#672E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#672E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E71
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E71#FFFFFF#000000##FFFFFF
##672E711.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#35486F
Tritanopia (blue-blind)
#68384B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672e71;
/* rgb */ color: rgb(103, 46, 113);
/* oklch */ color: oklch(40.8% 0.124 321.5);
Tailwind
colors: {
  custom: {
    50: '#946a9a',
    500: '#672e71',
    950: '#000000',
  },
}
SCSS
$custom: #672e71;
$custom-light: #946a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#672e71",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 291.045,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.12353,
    "h": 321.5
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#672E71
secondary
#63A258
accent
#D25668
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #672E71

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

Preview Lab → · Contrast checker → · Palette generator →

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