#672D89#672D89

#672D89 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.151 H 310.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#672D89
RGBrgb(103, 45, 137)
HSLhsl(278, 51%, 36%)
HSVhsv(278, 67%, 54%)
CMYKcmyk(24.8%, 67.2%, 0%, 46.3%)
CIE-LABlab(30.80, 42.28, -40.70)
CIE-LCHlch(30.80, 58.69, 316.09°)
OKLaboklab(42.19% 0.0981 -0.1149)
OKLCHoklch(42.19% 0.151 310.5)
XYZxyz(11.0464, 6.5667, 24.3477)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D89 #4F892D
analogous
#392D89 #672D89 #892D7D
triadic
#672D89 #89672D #2D8967
tetradic
#672D89 #89392D #4F892D #2D7D89
square
#672D89 #89392D #4F892D #2D7D89
split-complementary
#672D89 #7D892D #2D8939
monochromatic
#220F2D #441E5B #672D89 #8A3CB7 #A664CC

Accessibility & contrast

On white

9.08
#672D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672D89
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D89#FFFFFF#000000##FFFFFF
##672D891.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#214987
Tritanopia (blue-blind)
#634057
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672d89;
/* rgb */ color: rgb(103, 45, 137);
/* oklch */ color: oklch(42.2% 0.151 310.5);
Tailwind
colors: {
  custom: {
    50: '#966aac',
    500: '#672d89',
    950: '#000000',
  },
}
SCSS
$custom: #672d89;
$custom-light: #966aac;
$custom-dark: #000000;
JSON
{
  "hex": "#672d89",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 277.826,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.15108,
    "h": 310.5
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#672D89
secondary
#7EB35F
accent
#DA4E82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672D89

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

Preview Lab → · Contrast checker → · Palette generator →

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