#673A87#673A87

#673A87 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.9% C 0.128 H 309.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#673A87
RGBrgb(103, 58, 135)
HSLhsl(275, 40%, 38%)
HSVhsv(275, 57%, 53%)
CMYKcmyk(23.7%, 57%, 0%, 47.1%)
CIE-LABlab(33.26, 34.81, -35.53)
CIE-LCHlch(33.26, 49.74, 314.42°)
OKLaboklab(43.94% 0.0809 -0.0998)
OKLCHoklch(43.94% 0.128 309)
XYZxyz(11.4789, 7.6591, 23.7906)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673A87 #5A873A
analogous
#413A87 #673A87 #873A80
triadic
#673A87 #87673A #3A8767
tetradic
#673A87 #87413A #5A873A #3A8087
square
#673A87 #87413A #5A873A #3A8087
split-complementary
#673A87 #80873A #3A8741
monochromatic
#261531 #46285C #673A87 #884CB2 #A477C5

Accessibility & contrast

On white

8.29
#673A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#673A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673A87
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673A87#FFFFFF#000000##FFFFFF
##673A871.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#63485B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #673a87;
/* rgb */ color: rgb(103, 58, 135);
/* oklch */ color: oklch(43.9% 0.128 309.0);
Tailwind
colors: {
  custom: {
    50: '#9572aa',
    500: '#673a87',
    950: '#000000',
  },
}
SCSS
$custom: #673a87;
$custom-light: #9572aa;
$custom-dark: #000000;
JSON
{
  "hex": "#673a87",
  "rgb": {
    "r": 103,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 275.065,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.12847,
    "h": 309
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#673A87
secondary
#89AE6F
accent
#D0588A
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #673A87

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

Preview Lab → · Contrast checker → · Palette generator →

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