#672C9B#672C9B

#672C9B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.172 H 304.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#672C9B
RGBrgb(103, 44, 155)
HSLhsl(272, 56%, 39%)
HSVhsv(272, 72%, 61%)
CMYKcmyk(33.5%, 71.6%, 0%, 39.2%)
CIE-LABlab(31.92, 47.08, -49.94)
CIE-LCHlch(31.92, 68.64, 313.31°)
OKLaboklab(43.4% 0.0972 -0.142)
OKLCHoklch(43.4% 0.172 304.4)
XYZxyz(12.4093, 7.0515, 31.7113)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C9B #609B2C
analogous
#302C9B #672C9B #9B2C98
triadic
#672C9B #9B672C #2C9B67
tetradic
#672C9B #9B302C #609B2C #2C989B
square
#672C9B #9B302C #609B2C #2C989B
split-complementary
#672C9B #989B2C #2C9B30
monochromatic
#28113C #471E6B #672C9B #863CC8 #A46CD5

Accessibility & contrast

On white

8.71
#672C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#672C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C9B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C9B#FFFFFF#000000##FFFFFF
##672C9B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#5D4660
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672c9b;
/* rgb */ color: rgb(103, 44, 155);
/* oklch */ color: oklch(43.4% 0.172 304.4);
Tailwind
colors: {
  custom: {
    50: '#976ab9',
    500: '#672c9b',
    950: '#000000',
  },
}
SCSS
$custom: #672c9b;
$custom-light: #976ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#672c9b",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 271.892,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.17207,
    "h": 304.4
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#672C9B
secondary
#8FBC67
accent
#DF498F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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