#673AB8#673AB8

#673AB8 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.187 H 294.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#673AB8
RGBrgb(103, 58, 184)
HSLhsl(261, 52%, 47%)
HSVhsv(261, 68%, 72%)
CMYKcmyk(44%, 68.5%, 0%, 27.8%)
CIE-LABlab(36.69, 47.57, -59.57)
CIE-LCHlch(36.69, 76.23, 308.61°)
OKLaboklab(47.51% 0.0779 -0.1704)
OKLCHoklch(47.51% 0.187 294.6)
XYZxyz(15.7560, 9.3700, 46.3165)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673AB8 #8BB83A
analogous
#3A4CB8 #673AB8 #A63AB8
triadic
#673AB8 #B8673A #3AB867
tetradic
#673AB8 #B83A4C #8BB83A #3AB8A6
square
#673AB8 #B83A4C #8BB83A #3AB8A6
split-complementary
#673AB8 #B8A63A #4CB83A
monochromatic
#331D5B #4D2B89 #673AB8 #8862CD #AB90DC

Accessibility & contrast

On white

7.31
#673AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #673AB8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673AB8#FFFFFF#000000##FFFFFF
##673AB81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#515974
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #673ab8;
/* rgb */ color: rgb(103, 58, 184);
/* oklch */ color: oklch(47.5% 0.187 294.6);
Tailwind
colors: {
  custom: {
    50: '#9973ce',
    500: '#673ab8',
    950: '#000000',
  },
}
SCSS
$custom: #673ab8;
$custom-light: #9973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#673ab8",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 261.429,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.18734,
    "h": 294.6
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#673AB8
secondary
#B0C787
accent
#DC4CA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #673AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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