#673399#673399

#673399 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.161 H 303.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#673399
RGBrgb(103, 51, 153)
HSLhsl(271, 50%, 40%)
HSVhsv(271, 67%, 60%)
CMYKcmyk(32.7%, 66.7%, 0%, 40%)
CIE-LABlab(33.03, 43.11, -46.94)
CIE-LCHlch(33.03, 63.73, 312.57°)
OKLaboklab(44.15% 0.0896 -0.1332)
OKLCHoklch(44.15% 0.161 303.9)
XYZxyz(12.5258, 7.5512, 30.9284)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673399 #659933
analogous
#343399 #673399 #993398
triadic
#673399 #996733 #339967
tetradic
#673399 #993433 #659933 #339899
square
#673399 #993433 #659933 #339899
split-complementary
#673399 #989933 #339934
monochromatic
#29143D #48246B #673399 #8647C2 #A475D1

Accessibility & contrast

On white

8.37
#673399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#673399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673399
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673399#FFFFFF#000000##FFFFFF
##6733991.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#114E97
Tritanopia (blue-blind)
#5E4961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #673399;
/* rgb */ color: rgb(103, 51, 153);
/* oklch */ color: oklch(44.1% 0.161 303.9);
Tailwind
colors: {
  custom: {
    50: '#966eb8',
    500: '#673399',
    950: '#000000',
  },
}
SCSS
$custom: #673399;
$custom-light: #966eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#673399",
  "rgb": {
    "r": 103,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 270.588,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.16053,
    "h": 303.9
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#673399
secondary
#93B96E
accent
#DA4E93
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #673399

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

Preview Lab → · Contrast checker → · Palette generator →

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