#672D9C#672D9C

#672D9C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.172 H 303.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#672D9C
RGBrgb(103, 45, 156)
HSLhsl(271, 55%, 39%)
HSVhsv(271, 71%, 61%)
CMYKcmyk(34%, 71.2%, 0%, 38.8%)
CIE-LABlab(32.17, 46.85, -50.15)
CIE-LCHlch(32.17, 68.63, 313.05°)
OKLaboklab(43.6% 0.0959 -0.1426)
OKLCHoklch(43.6% 0.172 303.9)
XYZxyz(12.5313, 7.1607, 32.1680)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D9C #629C2D
analogous
#2F2D9C #672D9C #9C2D9A
triadic
#672D9C #9C672D #2D9C67
tetradic
#672D9C #9C2F2D #629C2D #2D9A9C
square
#672D9C #9C2F2D #629C2D #2D9A9C
split-complementary
#672D9C #9A9C2D #2D9C2F
monochromatic
#28123D #481F6D #672D9C #863FC8 #A46ED5

Accessibility & contrast

On white

8.63
#672D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#672D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D9C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D9C#FFFFFF#000000##FFFFFF
##672D9C1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#5D4761
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672d9c;
/* rgb */ color: rgb(103, 45, 156);
/* oklch */ color: oklch(43.6% 0.172 303.9);
Tailwind
colors: {
  custom: {
    50: '#976bba',
    500: '#672d9c',
    950: '#000000',
  },
}
SCSS
$custom: #672d9c;
$custom-light: #976bba;
$custom-dark: #000000;
JSON
{
  "hex": "#672d9c",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 271.351,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.17189,
    "h": 303.9
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#672D9C
secondary
#91BC68
accent
#DF4991
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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