#672B87#672B87

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

Color values

HEX#672B87
RGBrgb(103, 43, 135)
HSLhsl(279, 52%, 35%)
HSVhsv(279, 68%, 53%)
CMYKcmyk(23.7%, 68.1%, 0%, 47.1%)
CIE-LABlab(30.31, 42.81, -40.26)
CIE-LCHlch(30.31, 58.76, 316.76°)
OKLaboklab(41.79% 0.1007 -0.1135)
OKLCHoklch(41.79% 0.152 311.6)
XYZxyz(10.8298, 6.3609, 23.5742)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672B87 #4B872B
analogous
#392B87 #672B87 #872B79
triadic
#672B87 #87672B #2B8767
tetradic
#672B87 #87392B #4B872B #2B7987
square
#672B87 #87392B #4B872B #2B7987
split-complementary
#672B87 #79872B #2B8739
monochromatic
#200D2A #441C59 #672B87 #8A3AB5 #A760CC

Accessibility & contrast

On white

9.24
#672B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#672B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672B87
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672B87#FFFFFF#000000##FFFFFF
##672B871.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#214985
Tritanopia (blue-blind)
#633E55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672b87;
/* rgb */ color: rgb(103, 43, 135);
/* oklch */ color: oklch(41.8% 0.152 311.6);
Tailwind
colors: {
  custom: {
    50: '#9669aa',
    500: '#672b87',
    950: '#000000',
  },
}
SCSS
$custom: #672b87;
$custom-light: #9669aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672b87",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 279.13,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41786,
    "c": 0.15177,
    "h": 311.6
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#672B87
secondary
#7AB25B
accent
#DB4D7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672B87

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

Preview Lab → · Contrast checker → · Palette generator →

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