#673BA6#673BA6

#673BA6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.165 H 298.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#673BA6
RGBrgb(103, 59, 166)
HSLhsl(265, 48%, 44%)
HSVhsv(265, 64%, 65%)
CMYKcmyk(38%, 64.5%, 0%, 34.9%)
CIE-LABlab(35.53, 42.20, -50.75)
CIE-LCHlch(35.53, 66.01, 309.75°)
OKLaboklab(46.25% 0.079 -0.1444)
OKLCHoklch(46.25% 0.165 298.7)
XYZxyz(14.0387, 8.7645, 37.0211)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673BA6 #7AA63B
analogous
#3B44A6 #673BA6 #9D3BA6
triadic
#673BA6 #A6673B #3BA667
tetradic
#673BA6 #A63B44 #7AA63B #3BA69D
square
#673BA6 #A63B44 #7AA63B #3BA69D
split-complementary
#673BA6 #A69D3B #44A63B
monochromatic
#2F1B4C #4B2B79 #673BA6 #865AC4 #A787D4

Accessibility & contrast

On white

7.63
#673BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#673BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673BA6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673BA6#FFFFFF#000000##FFFFFF
##673BA61.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0253A4
Tritanopia (blue-blind)
#59536B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #673ba6;
/* rgb */ color: rgb(103, 59, 166);
/* oklch */ color: oklch(46.2% 0.165 298.7);
Tailwind
colors: {
  custom: {
    50: '#9773c1',
    500: '#673ba6',
    950: '#000000',
  },
}
SCSS
$custom: #673ba6;
$custom-light: #9773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#673ba6",
  "rgb": {
    "r": 103,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 264.673,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.16464,
    "h": 298.7
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#673BA6
secondary
#A4BF7E
accent
#D751A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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