#672C8D#672C8D

#672C8D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.157 H 309.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#672C8D
RGBrgb(103, 44, 141)
HSLhsl(276, 52%, 36%)
HSVhsv(276, 69%, 55%)
CMYKcmyk(27%, 68.8%, 0%, 44.7%)
CIE-LABlab(30.90, 43.72, -43.02)
CIE-LCHlch(30.90, 61.34, 315.46°)
OKLaboklab(42.34% 0.099 -0.1217)
OKLCHoklch(42.34% 0.157 309.1)
XYZxyz(11.3010, 6.6082, 25.8743)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C8D #528D2C
analogous
#372C8D #672C8D #8D2C83
triadic
#672C8D #8D672C #2C8D67
tetradic
#672C8D #8D372C #528D2C #2C838D
square
#672C8D #8D372C #528D2C #2C838D
split-complementary
#672C8D #838D2C #2C8D37
monochromatic
#230F30 #451D5E #672C8D #893BBC #A565CF

Accessibility & contrast

On white

9.05
#672C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672C8D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C8D#FFFFFF#000000##FFFFFF
##672C8D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#1B4A8B
Tritanopia (blue-blind)
#614159
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672c8d;
/* rgb */ color: rgb(103, 44, 141);
/* oklch */ color: oklch(42.3% 0.157 309.1);
Tailwind
colors: {
  custom: {
    50: '#966aaf',
    500: '#672c8d',
    950: '#000000',
  },
}
SCSS
$custom: #672c8d;
$custom-light: #966aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#672c8d",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 276.495,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.15685,
    "h": 309.1
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#672C8D
secondary
#81B560
accent
#DC4C84
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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