#673EA6#673EA6

#673EA6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.160 H 298.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#673EA6
RGBrgb(103, 62, 166)
HSLhsl(264, 46%, 45%)
HSVhsv(264, 63%, 65%)
CMYKcmyk(38%, 62.7%, 0%, 34.9%)
CIE-LABlab(36.14, 40.55, -49.76)
CIE-LCHlch(36.14, 64.19, 309.17°)
OKLaboklab(46.69% 0.0755 -0.1415)
OKLCHoklch(46.69% 0.16 298.1)
XYZxyz(14.1973, 9.0818, 37.0740)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673EA6 #7DA63E
analogous
#3E49A6 #673EA6 #9B3EA6
triadic
#673EA6 #A6673E #3EA667
tetradic
#673EA6 #A63E49 #7DA63E #3EA69B
square
#673EA6 #A63E49 #7DA63E #3EA69B
split-complementary
#673EA6 #A69B3E #49A63E
monochromatic
#301D4D #4B2D79 #673EA6 #865EC3 #A88BD4

Accessibility & contrast

On white

7.46
#673EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#673EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673EA6
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673EA6#FFFFFF#000000##FFFFFF
##673EA61.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0E54A4
Tritanopia (blue-blind)
#58556C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #673ea6;
/* rgb */ color: rgb(103, 62, 166);
/* oklch */ color: oklch(46.7% 0.160 298.1);
Tailwind
colors: {
  custom: {
    50: '#9775c1',
    500: '#673ea6',
    950: '#000000',
  },
}
SCSS
$custom: #673ea6;
$custom-light: #9775c1;
$custom-dark: #000000;
JSON
{
  "hex": "#673ea6",
  "rgb": {
    "r": 103,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 263.654,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.1604,
    "h": 298.1
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#673EA6
secondary
#A6BE82
accent
#D553A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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