#673AB7#673AB7

#673AB7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.186 H 294.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#673AB7
RGBrgb(103, 58, 183)
HSLhsl(262, 52%, 47%)
HSVhsv(262, 68%, 72%)
CMYKcmyk(43.7%, 68.3%, 0%, 28.2%)
CIE-LABlab(36.61, 47.30, -59.11)
CIE-LCHlch(36.61, 75.70, 308.66°)
OKLaboklab(47.43% 0.078 -0.169)
OKLCHoklch(47.43% 0.186 294.8)
XYZxyz(15.6515, 9.3282, 45.7664)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AB7 #8AB73A
analogous
#3A4CB7 #673AB7 #A63AB7
triadic
#673AB7 #B7673A #3AB767
tetradic
#673AB7 #B73A4C #8AB73A #3AB7A6
square
#673AB7 #B73A4C #8AB73A #3AB7A6
split-complementary
#673AB7 #B7A63A #4CB73A
monochromatic
#331D5A #4D2B89 #673AB7 #8861CD #AB90DC

Accessibility & contrast

On white

7.33
#673AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#673AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AB7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AB7#FFFFFF#000000##FFFFFF
##673AB71.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#515874
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #673ab7;
/* rgb */ color: rgb(103, 58, 183);
/* oklch */ color: oklch(47.4% 0.186 294.8);
Tailwind
colors: {
  custom: {
    50: '#9973cd',
    500: '#673ab7',
    950: '#000000',
  },
}
SCSS
$custom: #673ab7;
$custom-light: #9973cd;
$custom-dark: #000000;
JSON
{
  "hex": "#673ab7",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 261.6,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47425,
    "c": 0.18618,
    "h": 294.8
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#673AB7
secondary
#AFC786
accent
#DB4CA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #673AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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