#673BAB#673BAB

#673BAB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.171 H 297.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#673BAB
RGBrgb(103, 59, 171)
HSLhsl(264, 49%, 45%)
HSVhsv(264, 65%, 67%)
CMYKcmyk(39.8%, 65.5%, 0%, 32.9%)
CIE-LABlab(35.89, 43.54, -53.15)
CIE-LCHlch(35.89, 68.71, 309.32°)
OKLaboklab(46.62% 0.0785 -0.1515)
OKLCHoklch(46.62% 0.171 297.4)
XYZxyz(14.5063, 8.9515, 39.4837)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673BAB #7FAB3B
analogous
#3B47AB #673BAB #9F3BAB
triadic
#673BAB #AB673B #3BAB67
tetradic
#673BAB #AB3B47 #7FAB3B #3BAB9F
square
#673BAB #AB3B47 #7FAB3B #3BAB9F
split-complementary
#673BAB #AB9F3B #47AB3B
monochromatic
#301C50 #4C2B7D #673BAB #865CC7 #A88AD7

Accessibility & contrast

On white

7.53
#673BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#673BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673BAB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673BAB#FFFFFF#000000##FFFFFF
##673BAB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#56556E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #673bab;
/* rgb */ color: rgb(103, 59, 171);
/* oklch */ color: oklch(46.6% 0.171 297.4);
Tailwind
colors: {
  custom: {
    50: '#9874c5',
    500: '#673bab',
    950: '#000000',
  },
}
SCSS
$custom: #673bab;
$custom-light: #9874c5;
$custom-dark: #000000;
JSON
{
  "hex": "#673bab",
  "rgb": {
    "r": 103,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 263.571,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46623,
    "c": 0.17065,
    "h": 297.4
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#673BAB
secondary
#A8C181
accent
#D850A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #673BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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