#672D8A#672D8A

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

Color values

HEX#672D8A
RGBrgb(103, 45, 138)
HSLhsl(277, 51%, 36%)
HSVhsv(277, 67%, 54%)
CMYKcmyk(25.4%, 67.4%, 0%, 45.9%)
CIE-LABlab(30.87, 42.52, -41.21)
CIE-LCHlch(30.87, 59.22, 315.89°)
OKLaboklab(42.26% 0.0981 -0.1164)
OKLCHoklch(42.26% 0.152 310.1)
XYZxyz(11.1185, 6.5955, 24.7272)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D8A #508A2D
analogous
#382D8A #672D8A #8A2D7E
triadic
#672D8A #8A672D #2D8A67
tetradic
#672D8A #8A382D #508A2D #2D7E8A
square
#672D8A #8A382D #508A2D #2D7E8A
split-complementary
#672D8A #7E8A2D #2D8A38
monochromatic
#220F2E #451E5C #672D8A #893CB8 #A665CD

Accessibility & contrast

On white

9.06
#672D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672D8A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D8A#FFFFFF#000000##FFFFFF
##672D8A1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#624057
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672d8a;
/* rgb */ color: rgb(103, 45, 138);
/* oklch */ color: oklch(42.3% 0.152 310.1);
Tailwind
colors: {
  custom: {
    50: '#966aad',
    500: '#672d8a',
    950: '#000000',
  },
}
SCSS
$custom: #672d8a;
$custom-light: #966aad;
$custom-dark: #000000;
JSON
{
  "hex": "#672d8a",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 277.419,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.15218,
    "h": 310.1
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#672D8A
secondary
#7FB360
accent
#DA4D82
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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