#672F84#672F84

#672F84 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.143 H 312.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#672F84
RGBrgb(103, 47, 132)
HSLhsl(280, 47%, 35%)
HSVhsv(280, 64%, 52%)
CMYKcmyk(22%, 64.4%, 0%, 48.2%)
CIE-LABlab(30.84, 40.10, -37.54)
CIE-LCHlch(30.84, 54.92, 316.89°)
OKLaboklab(42.11% 0.0958 -0.1056)
OKLCHoklch(42.11% 0.143 312.2)
XYZxyz(10.7741, 6.5828, 22.5284)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F84 #4C842F
analogous
#3C2F84 #672F84 #842F77
triadic
#672F84 #84672F #2F8467
tetradic
#672F84 #843C2F #4C842F #2F7784
square
#672F84 #843C2F #4C842F #2F7784
split-complementary
#672F84 #77842F #2F843C
monochromatic
#210F2A #441F57 #672F84 #8A3FB1 #A665C8

Accessibility & contrast

On white

9.07
#672F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#672F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F84
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F84#FFFFFF#000000##FFFFFF
##672F841.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4687
Deuteranopia (green-blind)
#284A82
Tritanopia (blue-blind)
#643F55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672f84;
/* rgb */ color: rgb(103, 47, 132);
/* oklch */ color: oklch(42.1% 0.143 312.2);
Tailwind
colors: {
  custom: {
    50: '#956ba8',
    500: '#672f84',
    950: '#000000',
  },
}
SCSS
$custom: #672f84;
$custom-light: #956ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#672f84",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 279.529,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.1426,
    "h": 312.2
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#672F84
secondary
#7BAF60
accent
#D7517F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672F84

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

Preview Lab → · Contrast checker → · Palette generator →

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