#672F89#672F89

#672F89 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.148 H 310.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#672F89
RGBrgb(103, 47, 137)
HSLhsl(277, 49%, 36%)
HSVhsv(277, 66%, 54%)
CMYKcmyk(24.8%, 65.7%, 0%, 46.3%)
CIE-LABlab(31.17, 41.27, -40.11)
CIE-LCHlch(31.17, 57.55, 315.81°)
OKLaboklab(42.45% 0.0957 -0.1131)
OKLCHoklch(42.45% 0.148 310.2)
XYZxyz(11.1245, 6.7230, 24.3737)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F89 #51892F
analogous
#3A2F89 #672F89 #892F7E
triadic
#672F89 #89672F #2F8967
tetradic
#672F89 #893A2F #51892F #2F7E89
square
#672F89 #893A2F #51892F #2F7E89
split-complementary
#672F89 #7E892F #2F893A
monochromatic
#22102E #451F5B #672F89 #893FB7 #A567CB

Accessibility & contrast

On white

8.96
#672F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#672F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F89
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F89#FFFFFF#000000##FFFFFF
##672F891.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#244A87
Tritanopia (blue-blind)
#624157
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672f89;
/* rgb */ color: rgb(103, 47, 137);
/* oklch */ color: oklch(42.5% 0.148 310.2);
Tailwind
colors: {
  custom: {
    50: '#956bac',
    500: '#672f89',
    950: '#000000',
  },
}
SCSS
$custom: #672f89;
$custom-light: #956bac;
$custom-dark: #000000;
JSON
{
  "hex": "#672f89",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 277.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.14816,
    "h": 310.2
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#672F89
secondary
#80B262
accent
#D84F83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672F89

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

Preview Lab → · Contrast checker → · Palette generator →

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