#672FA4#672FA4

#672FA4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.178 H 301.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#672FA4
RGBrgb(103, 47, 164)
HSLhsl(269, 55%, 41%)
HSVhsv(269, 71%, 64%)
CMYKcmyk(37.2%, 71.3%, 0%, 35.7%)
CIE-LABlab(33.13, 47.88, -53.44)
CIE-LCHlch(33.13, 71.75, 311.86°)
OKLaboklab(44.48% 0.0925 -0.1523)
OKLCHoklch(44.48% 0.178 301.3)
XYZxyz(13.3093, 7.5969, 35.8799)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672FA4 #6CA42F
analogous
#2F32A4 #672FA4 #A22FA4
triadic
#672FA4 #A4672F #2FA467
tetradic
#672FA4 #A42F32 #6CA42F #2FA4A2
square
#672FA4 #A42F32 #6CA42F #2FA4A2
split-complementary
#672FA4 #A4A22F #32A42F
monochromatic
#2B1445 #492174 #672FA4 #8546CA #A576D8

Accessibility & contrast

On white

8.34
#672FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#672FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672FA4
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672FA4#FFFFFF#000000##FFFFFF
##672FA41.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#5A4B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672fa4;
/* rgb */ color: rgb(103, 47, 164);
/* oklch */ color: oklch(44.5% 0.178 301.3);
Tailwind
colors: {
  custom: {
    50: '#986cc0',
    500: '#672fa4',
    950: '#000000',
  },
}
SCSS
$custom: #672fa4;
$custom-light: #986cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#672fa4",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 268.718,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.17819,
    "h": 301.3
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#672FA4
secondary
#99C06F
accent
#DF4997
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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