#672C87#672C87

#672C87 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.150 H 311.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#672C87
RGBrgb(103, 44, 135)
HSLhsl(279, 51%, 35%)
HSVhsv(279, 67%, 53%)
CMYKcmyk(23.7%, 67.4%, 0%, 47.1%)
CIE-LABlab(30.48, 42.31, -39.97)
CIE-LCHlch(30.48, 58.21, 316.63°)
OKLaboklab(41.91% 0.0995 -0.1127)
OKLCHoklch(41.91% 0.15 311.4)
XYZxyz(10.8666, 6.4345, 23.5865)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C87 #4C872C
analogous
#392C87 #672C87 #872C7A
triadic
#672C87 #87672C #2C8767
tetradic
#672C87 #87392C #4C872C #2C7A87
square
#672C87 #87392C #4C872C #2C7A87
split-complementary
#672C87 #7A872C #2C8739
monochromatic
#210E2B #441D59 #672C87 #8A3BB5 #A662CC

Accessibility & contrast

On white

9.18
#672C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C87
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C87#FFFFFF#000000##FFFFFF
##672C871.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#633E55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672c87;
/* rgb */ color: rgb(103, 44, 135);
/* oklch */ color: oklch(41.9% 0.150 311.4);
Tailwind
colors: {
  custom: {
    50: '#9669aa',
    500: '#672c87',
    950: '#000000',
  },
}
SCSS
$custom: #672c87;
$custom-light: #9669aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672c87",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 278.901,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.15034,
    "h": 311.4
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#672C87
secondary
#7BB25D
accent
#DA4D7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C87

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

Preview Lab → · Contrast checker → · Palette generator →

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