#673EA7#673EA7

#673EA7 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.162 H 297.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#673EA7
RGBrgb(103, 62, 167)
HSLhsl(263, 46%, 45%)
HSVhsv(263, 63%, 65%)
CMYKcmyk(38.3%, 62.9%, 0%, 34.5%)
CIE-LABlab(36.21, 40.82, -50.24)
CIE-LCHlch(36.21, 64.73, 309.09°)
OKLaboklab(46.76% 0.0754 -0.143)
OKLCHoklch(46.76% 0.162 297.8)
XYZxyz(14.2894, 9.1186, 37.5589)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EA7 #7EA73E
analogous
#3E49A7 #673EA7 #9C3EA7
triadic
#673EA7 #A7673E #3EA767
tetradic
#673EA7 #A73E49 #7EA73E #3EA79C
square
#673EA7 #A73E49 #7EA73E #3EA79C
split-complementary
#673EA7 #A79C3E #49A73E
monochromatic
#301D4E #4B2D7A #673EA7 #865FC3 #A88BD4

Accessibility & contrast

On white

7.44
#673EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#673EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673EA7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EA7#FFFFFF#000000##FFFFFF
##673EA71.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0A54A5
Tritanopia (blue-blind)
#58556C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #673ea7;
/* rgb */ color: rgb(103, 62, 167);
/* oklch */ color: oklch(46.8% 0.162 297.8);
Tailwind
colors: {
  custom: {
    50: '#9775c2',
    500: '#673ea7',
    950: '#000000',
  },
}
SCSS
$custom: #673ea7;
$custom-light: #9775c2;
$custom-dark: #000000;
JSON
{
  "hex": "#673ea7",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 263.429,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.16162,
    "h": 297.8
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#673EA7
secondary
#A7BF82
accent
#D652A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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