#672C9D#672C9D

#672C9D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.174 H 303.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#672C9D
RGBrgb(103, 44, 157)
HSLhsl(271, 56%, 39%)
HSVhsv(271, 72%, 62%)
CMYKcmyk(34.4%, 72%, 0%, 38.4%)
CIE-LABlab(32.08, 47.57, -50.91)
CIE-LCHlch(32.08, 69.68, 313.06°)
OKLaboklab(43.56% 0.0968 -0.1448)
OKLCHoklch(43.56% 0.174 303.8)
XYZxyz(12.5786, 7.1193, 32.6032)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C9D #629D2C
analogous
#2E2C9D #672C9D #9D2C9B
triadic
#672C9D #9D672C #2C9D67
tetradic
#672C9D #9D2E2C #629D2C #2C9B9D
square
#672C9D #9D2E2C #629D2C #2C9B9D
split-complementary
#672C9D #9B9D2C #2C9D2E
monochromatic
#28113D #481F6D #672C9D #863DC9 #A46DD6

Accessibility & contrast

On white

8.66
#672C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#672C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C9D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C9D#FFFFFF#000000##FFFFFF
##672C9D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#5C4761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672c9d;
/* rgb */ color: rgb(103, 44, 157);
/* oklch */ color: oklch(43.6% 0.174 303.8);
Tailwind
colors: {
  custom: {
    50: '#976abb',
    500: '#672c9d',
    950: '#000000',
  },
}
SCSS
$custom: #672c9d;
$custom-light: #976abb;
$custom-dark: #000000;
JSON
{
  "hex": "#672c9d",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 271.327,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.17423,
    "h": 303.8
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#672C9D
secondary
#91BD68
accent
#E04891
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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