#673AB1#673AB1

#673AB1 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.179 H 296.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#673AB1
RGBrgb(103, 58, 177)
HSLhsl(263, 51%, 46%)
HSVhsv(263, 67%, 69%)
CMYKcmyk(41.8%, 67.2%, 0%, 30.6%)
CIE-LABlab(36.14, 45.68, -56.31)
CIE-LCHlch(36.14, 72.51, 309.05°)
OKLaboklab(46.95% 0.0789 -0.1608)
OKLCHoklch(46.95% 0.179 296.1)
XYZxyz(15.0403, 9.0837, 42.5474)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AB1 #84B13A
analogous
#3A48B1 #673AB1 #A23AB1
triadic
#673AB1 #B1673A #3AB167
tetradic
#673AB1 #B13A48 #84B13A #3AB1A2
square
#673AB1 #B13A48 #84B13A #3AB1A2
split-complementary
#673AB1 #B1A23A #48B13A
monochromatic
#311C55 #4C2B83 #673AB1 #875ECA #A98CD9

Accessibility & contrast

On white

7.46
#673AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#673AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AB1
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AB1#FFFFFF#000000##FFFFFF
##673AB11.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#545670
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #673ab1;
/* rgb */ color: rgb(103, 58, 177);
/* oklch */ color: oklch(46.9% 0.179 296.1);
Tailwind
colors: {
  custom: {
    50: '#9873c9',
    500: '#673ab1',
    950: '#000000',
  },
}
SCSS
$custom: #673ab1;
$custom-light: #9873c9;
$custom-dark: #000000;
JSON
{
  "hex": "#673ab1",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 262.689,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46947,
    "c": 0.17911,
    "h": 296.1
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#673AB1
secondary
#ABC483
accent
#DA4EA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #673AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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