#672BA1#672BA1

#672BA1 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.180 H 302.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#672BA1
RGBrgb(103, 43, 161)
HSLhsl(271, 58%, 40%)
HSVhsv(271, 73%, 63%)
CMYKcmyk(36%, 73.3%, 0%, 36.9%)
CIE-LABlab(32.22, 49.02, -53.10)
CIE-LCHlch(32.22, 72.27, 312.71°)
OKLaboklab(43.76% 0.0971 -0.1513)
OKLCHoklch(43.76% 0.18 302.7)
XYZxyz(12.8889, 7.1845, 34.4190)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BA1 #65A12B
analogous
#2C2BA1 #672BA1 #A12BA0
triadic
#672BA1 #A1672B #2BA167
tetradic
#672BA1 #A12C2B #65A12B #2BA0A1
square
#672BA1 #A12C2B #65A12B #2BA0A1
split-complementary
#672BA1 #A0A12B #2BA12C
monochromatic
#291140 #481E71 #672BA1 #863ECB #A46ED8

Accessibility & contrast

On white

8.62
#672BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#672BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672BA1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BA1#FFFFFF#000000##FFFFFF
##672BA11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#5B4863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672ba1;
/* rgb */ color: rgb(103, 43, 161);
/* oklch */ color: oklch(43.8% 0.180 302.7);
Tailwind
colors: {
  custom: {
    50: '#986abe',
    500: '#672ba1',
    950: '#000000',
  },
}
SCSS
$custom: #672ba1;
$custom-light: #986abe;
$custom-dark: #000000;
JSON
{
  "hex": "#672ba1",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 270.508,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.17977,
    "h": 302.7
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#672BA1
secondary
#93BF69
accent
#E14793
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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