#673AC6#673AC6

#673AC6 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.204 H 291.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#673AC6
RGBrgb(103, 58, 198)
HSLhsl(259, 55%, 50%)
HSVhsv(259, 71%, 78%)
CMYKcmyk(48%, 70.7%, 0%, 22.4%)
CIE-LABlab(37.82, 51.37, -65.94)
CIE-LCHlch(37.82, 83.59, 307.92°)
OKLaboklab(48.66% 0.0754 -0.1891)
OKLCHoklch(48.66% 0.204 291.7)
XYZxyz(17.2968, 9.9863, 54.4313)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AC6 #99C63A
analogous
#3A53C6 #673AC6 #AD3AC6
triadic
#673AC6 #C6673A #3AC667
tetradic
#673AC6 #C63A53 #99C63A #3AC6AD
square
#673AC6 #C63A53 #99C63A #3AC6AD
split-complementary
#673AC6 #C6AD3A #53C63A
monochromatic
#361E68 #4E2C97 #673AC6 #8C69D4 #B099E1

Accessibility & contrast

On white

7.01
#673AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#673AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #673AC6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AC6#FFFFFF#000000##FFFFFF
##673AC61.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#495E7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #673ac6;
/* rgb */ color: rgb(103, 58, 198);
/* oklch */ color: oklch(48.7% 0.204 291.7);
Tailwind
colors: {
  custom: {
    50: '#9b74d8',
    500: '#673ac6',
    950: '#000000',
  },
}
SCSS
$custom: #673ac6;
$custom-light: #9b74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#673ac6",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 259.286,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.20357,
    "h": 291.7
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#673AC6
secondary
#B9CD8F
accent
#DE49AF
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #673AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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