#673AB6#673AB6

#673AB6 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.185 H 295.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#673AB6
RGBrgb(103, 58, 182)
HSLhsl(262, 52%, 47%)
HSVhsv(262, 68%, 71%)
CMYKcmyk(43.4%, 68.1%, 0%, 28.6%)
CIE-LABlab(36.53, 47.03, -58.65)
CIE-LCHlch(36.53, 75.17, 308.72°)
OKLaboklab(47.35% 0.0782 -0.1677)
OKLCHoklch(47.35% 0.185 295)
XYZxyz(15.5478, 9.2867, 45.2202)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AB6 #89B63A
analogous
#3A4BB6 #673AB6 #A53AB6
triadic
#673AB6 #B6673A #3AB667
tetradic
#673AB6 #B63A4B #89B63A #3AB6A5
square
#673AB6 #B63A4B #89B63A #3AB6A5
split-complementary
#673AB6 #B6A53A #4BB63A
monochromatic
#321C59 #4D2B88 #673AB6 #8861CD #AB8FDB

Accessibility & contrast

On white

7.35
#673AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#673AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673AB6
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AB6#FFFFFF#000000##FFFFFF
##673AB61.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#525873
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #673ab6;
/* rgb */ color: rgb(103, 58, 182);
/* oklch */ color: oklch(47.3% 0.185 295.0);
Tailwind
colors: {
  custom: {
    50: '#9973cd',
    500: '#673ab6',
    950: '#000000',
  },
}
SCSS
$custom: #673ab6;
$custom-light: #9973cd;
$custom-dark: #000000;
JSON
{
  "hex": "#673ab6",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 261.774,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47345,
    "c": 0.185,
    "h": 295
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#673AB6
secondary
#AFC686
accent
#DB4DA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #673AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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