#672F87#672F87

#672F87 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.146 H 311.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#672F87
RGBrgb(103, 47, 135)
HSLhsl(278, 48%, 36%)
HSVhsv(278, 65%, 53%)
CMYKcmyk(23.7%, 65.2%, 0%, 47.1%)
CIE-LABlab(31.03, 40.80, -39.09)
CIE-LCHlch(31.03, 56.50, 316.23°)
OKLaboklab(42.31% 0.0957 -0.1101)
OKLCHoklch(42.31% 0.146 311)
XYZxyz(10.9824, 6.6661, 23.6251)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F87 #4F872F
analogous
#3B2F87 #672F87 #872F7B
triadic
#672F87 #87672F #2F8767
tetradic
#672F87 #873B2F #4F872F #2F7B87
square
#672F87 #873B2F #4F872F #2F7B87
split-complementary
#672F87 #7B872F #2F873B
monochromatic
#220F2C #441F5A #672F87 #8A3FB4 #A666CA

Accessibility & contrast

On white

9.00
#672F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#672F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F87
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F87#FFFFFF#000000##FFFFFF
##672F871.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#634056
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672f87;
/* rgb */ color: rgb(103, 47, 135);
/* oklch */ color: oklch(42.3% 0.146 311.0);
Tailwind
colors: {
  custom: {
    50: '#956baa',
    500: '#672f87',
    950: '#000000',
  },
}
SCSS
$custom: #672f87;
$custom-light: #956baa;
$custom-dark: #000000;
JSON
{
  "hex": "#672f87",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 278.182,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.14593,
    "h": 311
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#672F87
secondary
#7EB161
accent
#D85081
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672F87

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

Preview Lab → · Contrast checker → · Palette generator →

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