#673EA5#673EA5

#673EA5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.159 H 298.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#673EA5
RGBrgb(103, 62, 165)
HSLhsl(264, 45%, 45%)
HSVhsv(264, 62%, 65%)
CMYKcmyk(37.6%, 62.4%, 0%, 35.3%)
CIE-LABlab(36.07, 40.28, -49.27)
CIE-LCHlch(36.07, 63.64, 309.26°)
OKLaboklab(46.62% 0.0755 -0.1401)
OKLCHoklch(46.62% 0.159 298.3)
XYZxyz(14.1060, 9.0452, 36.5927)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EA5 #7CA53E
analogous
#3E49A5 #673EA5 #9A3EA5
triadic
#673EA5 #A5673E #3EA567
tetradic
#673EA5 #A53E49 #7CA53E #3EA59A
square
#673EA5 #A53E49 #7CA53E #3EA59A
split-complementary
#673EA5 #A59A3E #49A53E
monochromatic
#2F1D4C #4B2D79 #673EA5 #865EC2 #A78AD3

Accessibility & contrast

On white

7.48
#673EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#673EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673EA5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EA5#FFFFFF#000000##FFFFFF
##673EA51.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#1154A3
Tritanopia (blue-blind)
#59546B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #673ea5;
/* rgb */ color: rgb(103, 62, 165);
/* oklch */ color: oklch(46.6% 0.159 298.3);
Tailwind
colors: {
  custom: {
    50: '#9775c0',
    500: '#673ea5',
    950: '#000000',
  },
}
SCSS
$custom: #673ea5;
$custom-light: #9775c0;
$custom-dark: #000000;
JSON
{
  "hex": "#673ea5",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 263.883,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46617,
    "c": 0.15916,
    "h": 298.3
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #673EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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