#673899#673899

#673899 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.153 H 303.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#673899
RGBrgb(103, 56, 153)
HSLhsl(269, 46%, 41%)
HSVhsv(269, 63%, 60%)
CMYKcmyk(32.7%, 63.4%, 0%, 40%)
CIE-LABlab(34.01, 40.44, -45.36)
CIE-LCHlch(34.01, 60.77, 311.72°)
OKLaboklab(44.85% 0.0835 -0.1286)
OKLCHoklch(44.85% 0.153 303)
XYZxyz(12.7561, 8.0118, 31.0052)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673899 #6A9938
analogous
#383A99 #673899 #973899
triadic
#673899 #996738 #389967
tetradic
#673899 #99383A #6A9938 #389997
square
#673899 #99383A #6A9938 #389997
split-complementary
#673899 #999738 #3A9938
monochromatic
#2B173F #49286C #673899 #854FBF #A47CCF

Accessibility & contrast

On white

8.07
#673899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#673899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673899
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673899#FFFFFF#000000##FFFFFF
##6738991.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#5D4C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #673899;
/* rgb */ color: rgb(103, 56, 153);
/* oklch */ color: oklch(44.9% 0.153 303.0);
Tailwind
colors: {
  custom: {
    50: '#9671b8',
    500: '#673899',
    950: '#000000',
  },
}
SCSS
$custom: #673899;
$custom-light: #9671b8;
$custom-dark: #000000;
JSON
{
  "hex": "#673899",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 269.072,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.15334,
    "h": 303
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#673899
secondary
#97B874
accent
#D65296
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673899

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

Preview Lab → · Contrast checker → · Palette generator →

#673899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva