#672AA7#672AA7

#672AA7 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.187 H 301.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#672AA7
RGBrgb(103, 42, 167)
HSLhsl(269, 60%, 41%)
HSVhsv(269, 75%, 65%)
CMYKcmyk(38.3%, 74.9%, 0%, 34.5%)
CIE-LABlab(32.55, 50.95, -56.19)
CIE-LCHlch(32.55, 75.85, 312.20°)
OKLaboklab(44.14% 0.0968 -0.1604)
OKLCHoklch(44.14% 0.187 301.1)
XYZxyz(13.3948, 7.3294, 37.2607)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AA7 #6AA72A
analogous
#2A2BA7 #672AA7 #A52AA7
triadic
#672AA7 #A7672A #2AA767
tetradic
#672AA7 #A72A2B #6AA72A #2AA7A5
square
#672AA7 #A72A2B #6AA72A #2AA7A5
split-complementary
#672AA7 #A7A52A #2BA72A
monochromatic
#2B1145 #491E76 #672AA7 #853FCF #A470DB

Accessibility & contrast

On white

8.52
#672AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#672AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AA7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AA7#FFFFFF#000000##FFFFFF
##672AA71.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#594A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #672aa7;
/* rgb */ color: rgb(103, 42, 167);
/* oklch */ color: oklch(44.1% 0.187 301.1);
Tailwind
colors: {
  custom: {
    50: '#986ac2',
    500: '#672aa7',
    950: '#000000',
  },
}
SCSS
$custom: #672aa7;
$custom-light: #986ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#672aa7",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 269.28,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.18733,
    "h": 301.1
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#672AA7
secondary
#97C26B
accent
#E34596
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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