#672C8A#672C8A

#672C8A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.154 H 310.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#672C8A
RGBrgb(103, 44, 138)
HSLhsl(278, 52%, 36%)
HSVhsv(278, 68%, 54%)
CMYKcmyk(25.4%, 68.1%, 0%, 45.9%)
CIE-LABlab(30.69, 43.01, -41.50)
CIE-LCHlch(30.69, 59.77, 316.02°)
OKLaboklab(42.13% 0.0993 -0.1172)
OKLCHoklch(42.13% 0.154 310.3)
XYZxyz(11.0808, 6.5201, 24.7146)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C8A #4F8A2C
analogous
#382C8A #672C8A #8A2C7E
triadic
#672C8A #8A672C #2C8A67
tetradic
#672C8A #8A382C #4F8A2C #2C7E8A
square
#672C8A #8A382C #4F8A2C #2C7E8A
split-complementary
#672C8A #7E8A2C #2C8A38
monochromatic
#220E2D #441D5C #672C8A #8A3BB8 #A663CD

Accessibility & contrast

On white

9.11
#672C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#672C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C8A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C8A#FFFFFF#000000##FFFFFF
##672C8A1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#1F4988
Tritanopia (blue-blind)
#623F57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672c8a;
/* rgb */ color: rgb(103, 44, 138);
/* oklch */ color: oklch(42.1% 0.154 310.3);
Tailwind
colors: {
  custom: {
    50: '#966aad',
    500: '#672c8a',
    950: '#000000',
  },
}
SCSS
$custom: #672c8a;
$custom-light: #966aad;
$custom-dark: #000000;
JSON
{
  "hex": "#672c8a",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 277.66,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.15359,
    "h": 310.3
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#672C8A
secondary
#7EB45E
accent
#DB4D82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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