#672B88#672B88

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

Color values

HEX#672B88
RGBrgb(103, 43, 136)
HSLhsl(279, 52%, 35%)
HSVhsv(279, 68%, 53%)
CMYKcmyk(24.3%, 68.4%, 0%, 46.7%)
CIE-LABlab(30.37, 43.04, -40.77)
CIE-LCHlch(30.37, 59.28, 316.55°)
OKLaboklab(41.86% 0.1006 -0.115)
OKLCHoklch(41.86% 0.153 311.2)
XYZxyz(10.9005, 6.3891, 23.9468)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672B88 #4C882B
analogous
#392B88 #672B88 #882B7A
triadic
#672B88 #88672B #2B8867
tetradic
#672B88 #88392B #4C882B #2B7A88
square
#672B88 #88392B #4C882B #2B7A88
split-complementary
#672B88 #7A882B #2B8839
monochromatic
#210E2B #441C5A #672B88 #8A3AB6 #A661CD

Accessibility & contrast

On white

9.22
#672B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672B88
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672B88#FFFFFF#000000##FFFFFF
##672B881.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#204986
Tritanopia (blue-blind)
#633E56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672b88;
/* rgb */ color: rgb(103, 43, 136);
/* oklch */ color: oklch(41.9% 0.153 311.2);
Tailwind
colors: {
  custom: {
    50: '#9669ab',
    500: '#672b88',
    950: '#000000',
  },
}
SCSS
$custom: #672b88;
$custom-light: #9669ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672b88",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 278.71,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.15284,
    "h": 311.2
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#672B88
secondary
#7BB35C
accent
#DB4C7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672B88

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

Preview Lab → · Contrast checker → · Palette generator →

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