#672A9D#672A9D

#672A9D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.177 H 304.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#672A9D
RGBrgb(103, 42, 157)
HSLhsl(272, 58%, 39%)
HSVhsv(272, 73%, 62%)
CMYKcmyk(34.4%, 73.2%, 0%, 38.4%)
CIE-LABlab(31.75, 48.50, -51.45)
CIE-LCHlch(31.75, 70.71, 313.31°)
OKLaboklab(43.33% 0.0989 -0.1464)
OKLCHoklch(43.33% 0.177 304)
XYZxyz(12.5059, 6.9738, 32.5790)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A9D #609D2A
analogous
#2E2A9D #672A9D #9D2A9A
triadic
#672A9D #9D672A #2A9D67
tetradic
#672A9D #9D2E2A #609D2A #2A9A9D
square
#672A9D #9D2E2A #609D2A #2A9A9D
split-complementary
#672A9D #9A9D2A #2A9D2E
monochromatic
#28103C #471D6D #672A9D #863ACA #A46AD7

Accessibility & contrast

On white

8.77
#672A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#672A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A9D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A9D#FFFFFF#000000##FFFFFF
##672A9D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#5C4661
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672a9d;
/* rgb */ color: rgb(103, 42, 157);
/* oklch */ color: oklch(43.3% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#9769bb',
    500: '#672a9d',
    950: '#000000',
  },
}
SCSS
$custom: #672a9d;
$custom-light: #9769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#672a9d",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 271.826,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.17668,
    "h": 304
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#672A9D
secondary
#8FBE65
accent
#E1478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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