#673EA2#673EA2

#673EA2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.155 H 299.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#673EA2
RGBrgb(103, 62, 162)
HSLhsl(265, 45%, 44%)
HSVhsv(265, 62%, 64%)
CMYKcmyk(36.4%, 61.7%, 0%, 36.5%)
CIE-LABlab(35.86, 39.48, -47.81)
CIE-LCHlch(35.86, 62.00, 309.55°)
OKLaboklab(46.4% 0.0757 -0.1358)
OKLCHoklch(46.4% 0.155 299.1)
XYZxyz(13.8361, 8.9373, 35.1715)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EA2 #79A23E
analogous
#3E47A2 #673EA2 #993EA2
triadic
#673EA2 #A2673E #3EA267
tetradic
#673EA2 #A23E47 #79A23E #3EA299
square
#673EA2 #A23E47 #79A23E #3EA299
split-complementary
#673EA2 #A2993E #47A23E
monochromatic
#2F1C49 #4B2D76 #673EA2 #865CC1 #A789D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##673EA2#FFFFFF#000000##FFFFFF
##673EA21.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)
#0054A5
Deuteranopia (green-blind)
#1853A0
Tritanopia (blue-blind)
#5A536A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #673ea2;
/* rgb */ color: rgb(103, 62, 162);
/* oklch */ color: oklch(46.4% 0.155 299.1);
Tailwind
colors: {
  custom: {
    50: '#9675be',
    500: '#673ea2',
    950: '#000000',
  },
}
SCSS
$custom: #673ea2;
$custom-light: #9675be;
$custom-dark: #000000;
JSON
{
  "hex": "#673ea2",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 264.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.15546,
    "h": 299.1
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#673EA2
secondary
#A3BC80
accent
#D453A0
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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