#673EC5#673EC5

#673EC5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.198 H 291.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#673EC5
RGBrgb(103, 62, 197)
HSLhsl(258, 54%, 51%)
HSVhsv(258, 69%, 77%)
CMYKcmyk(47.7%, 68.5%, 0%, 22.7%)
CIE-LABlab(38.48, 49.03, -64.28)
CIE-LCHlch(38.48, 80.84, 307.34°)
OKLaboklab(49.11% 0.0719 -0.1842)
OKLCHoklch(49.11% 0.198 291.3)
XYZxyz(17.3913, 10.3594, 53.8957)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EC5 #9CC53E
analogous
#3E58C5 #673EC5 #AA3EC5
triadic
#673EC5 #C5673E #3EC567
tetradic
#673EC5 #C53E58 #9CC53E #3EC5AA
square
#673EC5 #C53E58 #9CC53E #3EC5AA
split-complementary
#673EC5 #C5AA3E #58C53E
monochromatic
#362069 #4E2E98 #673EC5 #8C6DD3 #B19CE1

Accessibility & contrast

On white

6.84
#673EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#673EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #673EC5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EC5#FFFFFF#000000##FFFFFF
##673EC51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#49607D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #673ec5;
/* rgb */ color: rgb(103, 62, 197);
/* oklch */ color: oklch(49.1% 0.198 291.3);
Tailwind
colors: {
  custom: {
    50: '#9a76d8',
    500: '#673ec5',
    950: '#000000',
  },
}
SCSS
$custom: #673ec5;
$custom-light: #9a76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#673ec5",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 258.222,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.19774,
    "h": 291.3
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#673EC5
secondary
#BBCD91
accent
#DD4BB1
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #673EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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