#673EA4#673EA4

#673EA4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.5% C 0.158 H 298.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#673EA4
RGBrgb(103, 62, 164)
HSLhsl(264, 45%, 44%)
HSVhsv(264, 62%, 64%)
CMYKcmyk(37.2%, 62.2%, 0%, 35.7%)
CIE-LABlab(36.00, 40.01, -48.79)
CIE-LCHlch(36.00, 63.09, 309.36°)
OKLaboklab(46.54% 0.0756 -0.1387)
OKLCHoklch(46.54% 0.158 298.6)
XYZxyz(14.0153, 9.0090, 36.1153)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EA4 #7BA43E
analogous
#3E48A4 #673EA4 #9A3EA4
triadic
#673EA4 #A4673E #3EA467
tetradic
#673EA4 #A43E48 #7BA43E #3EA49A
square
#673EA4 #A43E48 #7BA43E #3EA49A
split-complementary
#673EA4 #A49A3E #48A43E
monochromatic
#2F1C4B #4B2D78 #673EA4 #865DC2 #A78AD3

Accessibility & contrast

On white

7.50
#673EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#673EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673EA4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EA4#FFFFFF#000000##FFFFFF
##673EA41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#1354A2
Tritanopia (blue-blind)
#59546B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #673ea4;
/* rgb */ color: rgb(103, 62, 164);
/* oklch */ color: oklch(46.5% 0.158 298.6);
Tailwind
colors: {
  custom: {
    50: '#9775c0',
    500: '#673ea4',
    950: '#000000',
  },
}
SCSS
$custom: #673ea4;
$custom-light: #9775c0;
$custom-dark: #000000;
JSON
{
  "hex": "#673ea4",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 264.118,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46544,
    "c": 0.15793,
    "h": 298.6
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#673EA4
secondary
#A5BD81
accent
#D553A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#673EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva