#673EC4#673EC4

#673EC4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.197 H 291.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#673EC4
RGBrgb(103, 62, 196)
HSLhsl(258, 53%, 51%)
HSVhsv(258, 68%, 77%)
CMYKcmyk(47.4%, 68.4%, 0%, 23.1%)
CIE-LABlab(38.40, 48.75, -63.82)
CIE-LCHlch(38.40, 80.32, 307.38°)
OKLaboklab(49.03% 0.072 -0.1829)
OKLCHoklch(49.03% 0.197 291.5)
XYZxyz(17.2771, 10.3137, 53.2943)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EC4 #9BC43E
analogous
#3E58C4 #673EC4 #AA3EC4
triadic
#673EC4 #C4673E #3EC467
tetradic
#673EC4 #C43E58 #9BC43E #3EC4AA
square
#673EC4 #C43E58 #9BC43E #3EC4AA
split-complementary
#673EC4 #C4AA3E #58C43E
monochromatic
#362068 #4E2E97 #673EC4 #8C6DD2 #B19CE1

Accessibility & contrast

On white

6.86
#673EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#673EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #673EC4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EC4#FFFFFF#000000##FFFFFF
##673EC41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#4A5F7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #673ec4;
/* rgb */ color: rgb(103, 62, 196);
/* oklch */ color: oklch(49.0% 0.197 291.5);
Tailwind
colors: {
  custom: {
    50: '#9a76d7',
    500: '#673ec4',
    950: '#000000',
  },
}
SCSS
$custom: #673ec4;
$custom-light: #9a76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#673ec4",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 258.358,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.19656,
    "h": 291.5
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#673EC4
secondary
#BACD91
accent
#DD4BB0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #673EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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