#673EC6#673EC6

#673EC6 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.199 H 291.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#673EC6
RGBrgb(103, 62, 198)
HSLhsl(258, 54%, 51%)
HSVhsv(258, 69%, 78%)
CMYKcmyk(48%, 68.7%, 0%, 22.4%)
CIE-LABlab(38.56, 49.31, -64.73)
CIE-LCHlch(38.56, 81.37, 307.30°)
OKLaboklab(49.19% 0.0717 -0.1855)
OKLCHoklch(49.19% 0.199 291.1)
XYZxyz(17.5063, 10.4054, 54.5012)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EC6 #9DC63E
analogous
#3E59C6 #673EC6 #AB3EC6
triadic
#673EC6 #C6673E #3EC667
tetradic
#673EC6 #C63E59 #9DC63E #3EC6AB
square
#673EC6 #C63E59 #9DC63E #3EC6AB
split-complementary
#673EC6 #C6AB3E #59C63E
monochromatic
#361F6A #4E2D99 #673EC6 #8C6DD4 #B19CE2

Accessibility & contrast

On white

6.82
#673EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#673EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #673EC6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EC6#FFFFFF#000000##FFFFFF
##673EC61.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#48607D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #673ec6;
/* rgb */ color: rgb(103, 62, 198);
/* oklch */ color: oklch(49.2% 0.199 291.1);
Tailwind
colors: {
  custom: {
    50: '#9a76d8',
    500: '#673ec6',
    950: '#000000',
  },
}
SCSS
$custom: #673ec6;
$custom-light: #9a76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#673ec6",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 258.088,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49193,
    "c": 0.1989,
    "h": 291.1
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#673EC6
secondary
#BCCE92
accent
#DE4AB1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #673EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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