#673D87#673D87

#673D87 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.4% C 0.123 H 308.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#673D87
RGBrgb(103, 61, 135)
HSLhsl(274, 38%, 38%)
HSVhsv(274, 55%, 53%)
CMYKcmyk(23.7%, 54.8%, 0%, 47.1%)
CIE-LABlab(33.92, 33.08, -34.48)
CIE-LCHlch(33.92, 47.78, 313.82°)
OKLaboklab(44.42% 0.0767 -0.0967)
OKLCHoklch(44.42% 0.123 308.4)
XYZxyz(11.6346, 7.9705, 23.8425)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673D87 #5D873D
analogous
#423D87 #673D87 #873D82
triadic
#673D87 #87673D #3D8767
tetradic
#673D87 #87423D #5D873D #3D8287
square
#673D87 #87423D #5D873D #3D8287
split-complementary
#673D87 #82873D #3D8742
monochromatic
#271733 #472A5D #673D87 #8751B0 #A47BC3

Accessibility & contrast

On white

8.10
#673D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#673D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673D87
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673D87#FFFFFF#000000##FFFFFF
##673D871.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#624A5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #673d87;
/* rgb */ color: rgb(103, 61, 135);
/* oklch */ color: oklch(44.4% 0.123 308.4);
Tailwind
colors: {
  custom: {
    50: '#9474aa',
    500: '#673d87',
    950: '#000000',
  },
}
SCSS
$custom: #673d87;
$custom-light: #9474aa;
$custom-dark: #000000;
JSON
{
  "hex": "#673d87",
  "rgb": {
    "r": 103,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 274.054,
    "s": 37.755,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44421,
    "c": 0.12341,
    "h": 308.4
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#673D87
secondary
#8CAD73
accent
#CE5A8C
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #673D87

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

Preview Lab → · Contrast checker → · Palette generator →

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