#672C86#672C86

#672C86 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.149 H 311.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#672C86
RGBrgb(103, 44, 134)
HSLhsl(279, 51%, 35%)
HSVhsv(279, 67%, 53%)
CMYKcmyk(23.1%, 67.2%, 0%, 47.5%)
CIE-LABlab(30.42, 42.08, -39.46)
CIE-LCHlch(30.42, 57.69, 316.84°)
OKLaboklab(41.84% 0.0995 -0.1112)
OKLCHoklch(41.84% 0.149 311.8)
XYZxyz(10.7965, 6.4064, 23.2175)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C86 #4B862C
analogous
#3A2C86 #672C86 #862C78
triadic
#672C86 #86672C #2C8667
tetradic
#672C86 #863A2C #4B862C #2C7886
square
#672C86 #863A2C #4B862C #2C7886
split-complementary
#672C86 #78862C #2C863A
monochromatic
#200E2A #441D58 #672C86 #8A3BB4 #A761CB

Accessibility & contrast

On white

9.21
#672C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#672C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C86
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C86#FFFFFF#000000##FFFFFF
##672C861.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#633E55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672c86;
/* rgb */ color: rgb(103, 44, 134);
/* oklch */ color: oklch(41.8% 0.149 311.8);
Tailwind
colors: {
  custom: {
    50: '#9569aa',
    500: '#672c86',
    950: '#000000',
  },
}
SCSS
$custom: #672c86;
$custom-light: #9569aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672c86",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 279.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.14925,
    "h": 311.8
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#672C86
secondary
#7AB15C
accent
#DA4E7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C86

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

Preview Lab → · Contrast checker → · Palette generator →

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