#673AD5#673AD5

#673AD5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.221 H 289.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#673AD5
RGBrgb(103, 58, 213)
HSLhsl(257, 65%, 53%)
HSVhsv(257, 73%, 84%)
CMYKcmyk(51.6%, 72.8%, 0%, 16.5%)
CIE-LABlab(39.09, 55.47, -72.55)
CIE-LCHlch(39.09, 91.32, 307.40°)
OKLaboklab(49.96% 0.0722 -0.2085)
OKLCHoklch(49.96% 0.221 289.1)
XYZxyz(19.1133, 10.7129, 63.9986)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AD5 #A8D53A
analogous
#3A5AD5 #673AD5 #B43AD5
triadic
#673AD5 #D5673A #3AD567
tetradic
#673AD5 #D53A5A #A8D53A #3AD5B4
square
#673AD5 #D53A5A #A8D53A #3AD5B4
split-complementary
#673AD5 #D5B43A #5AD53A
monochromatic
#361A7A #4C25AD #673AD5 #8E6CE0 #B59FEB

Accessibility & contrast

On white

6.68
#673AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#673AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #673AD5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AD5#FFFFFF#000000##FFFFFF
##673AD51.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#3E6484
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #673ad5;
/* rgb */ color: rgb(103, 58, 213);
/* oklch */ color: oklch(50.0% 0.221 289.1);
Tailwind
colors: {
  custom: {
    50: '#9d74e3',
    500: '#673ad5',
    950: '#000000',
  },
}
SCSS
$custom: #673ad5;
$custom-light: #9d74e3;
$custom-dark: #000000;
JSON
{
  "hex": "#673ad5",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 213
  },
  "hsl": {
    "h": 257.419,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.22061,
    "h": 289.1
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#673AD5
secondary
#C3D794
accent
#E840B7
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #673AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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