#672A99#672A99

#672A99 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.172 H 305.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#672A99
RGBrgb(103, 42, 153)
HSLhsl(273, 57%, 38%)
HSVhsv(273, 73%, 60%)
CMYKcmyk(32.7%, 72.5%, 0%, 40%)
CIE-LABlab(31.44, 47.53, -49.51)
CIE-LCHlch(31.44, 68.64, 313.83°)
OKLaboklab(43.01% 0.0996 -0.1407)
OKLCHoklch(43.01% 0.172 305.3)
XYZxyz(12.1700, 6.8395, 30.8098)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A99 #5C992A
analogous
#2F2A99 #672A99 #992A93
triadic
#672A99 #99672A #2A9967
tetradic
#672A99 #992F2A #5C992A #2A9399
square
#672A99 #992F2A #5C992A #2A9399
split-complementary
#672A99 #93992A #2A992F
monochromatic
#261039 #471D69 #672A99 #8738C8 #A468D6

Accessibility & contrast

On white

8.87
#672A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#672A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A99
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A99#FFFFFF#000000##FFFFFF
##672A991.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#5E445F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #672a99;
/* rgb */ color: rgb(103, 42, 153);
/* oklch */ color: oklch(43.0% 0.172 305.3);
Tailwind
colors: {
  custom: {
    50: '#9769b8',
    500: '#672a99',
    950: '#000000',
  },
}
SCSS
$custom: #672a99;
$custom-light: #9769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#672a99",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 272.973,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.17241,
    "h": 305.3
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#672A99
secondary
#8BBC63
accent
#E0488C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672A99

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

Preview Lab → · Contrast checker → · Palette generator →

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