#673F8D#673F8D

#673F8D is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.1% C 0.128 H 305.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#673F8D
RGBrgb(103, 63, 141)
HSLhsl(271, 38%, 40%)
HSVhsv(271, 55%, 55%)
CMYKcmyk(27%, 55.3%, 0%, 44.7%)
CIE-LABlab(34.73, 33.42, -36.89)
CIE-LCHlch(34.73, 49.78, 312.18°)
OKLaboklab(45.13% 0.0742 -0.1038)
OKLCHoklch(45.13% 0.128 305.6)
XYZxyz(12.1777, 8.3618, 26.1666)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673F8D #658D3F
analogous
#403F8D #673F8D #8D3F8C
triadic
#673F8D #8D673F #3F8D67
tetradic
#673F8D #8D403F #658D3F #3F8C8D
square
#673F8D #8D403F #658D3F #3F8C8D
split-complementary
#673F8D #8C8D3F #3F8D40
monochromatic
#291938 #482C63 #673F8D #8656B3 #A480C6

Accessibility & contrast

On white

7.86
#673F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#673F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673F8D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673F8D#FFFFFF#000000##FFFFFF
##673F8D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#614D60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673f8d;
/* rgb */ color: rgb(103, 63, 141);
/* oklch */ color: oklch(45.1% 0.128 305.6);
Tailwind
colors: {
  custom: {
    50: '#9575af',
    500: '#673f8d',
    950: '#000000',
  },
}
SCSS
$custom: #673f8d;
$custom-light: #9575af;
$custom-dark: #000000;
JSON
{
  "hex": "#673f8d",
  "rgb": {
    "r": 103,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 270.769,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.12757,
    "h": 305.6
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#673F8D
secondary
#93B177
accent
#CE5A92
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #673F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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