#672AA6#672AA6

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

Color values

HEX#672AA6
RGBrgb(103, 42, 166)
HSLhsl(270, 60%, 41%)
HSVhsv(270, 75%, 65%)
CMYKcmyk(38%, 74.7%, 0%, 34.9%)
CIE-LABlab(32.46, 50.70, -55.72)
CIE-LCHlch(32.46, 75.34, 312.30°)
OKLaboklab(44.06% 0.097 -0.159)
OKLCHoklch(44.06% 0.186 301.4)
XYZxyz(13.3027, 7.2926, 36.7758)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AA6 #69A62A
analogous
#2A2BA6 #672AA6 #A52AA6
triadic
#672AA6 #A6672A #2AA667
tetradic
#672AA6 #A62A2B #69A62A #2AA6A5
square
#672AA6 #A62A2B #69A62A #2AA6A5
split-complementary
#672AA6 #A6A52A #2BA62A
monochromatic
#2A1144 #491E75 #672AA6 #853FCE #A470DB

Accessibility & contrast

On white

8.54
#672AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#672AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AA6
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AA6#FFFFFF#000000##FFFFFF
##672AA61.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#594966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672aa6;
/* rgb */ color: rgb(103, 42, 166);
/* oklch */ color: oklch(44.1% 0.186 301.4);
Tailwind
colors: {
  custom: {
    50: '#986ac1',
    500: '#672aa6',
    950: '#000000',
  },
}
SCSS
$custom: #672aa6;
$custom-light: #986ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#672aa6",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 269.516,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44056,
    "c": 0.18626,
    "h": 301.4
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#672AA6
secondary
#97C26A
accent
#E34595
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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