#673299#673299

#673299 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.162 H 304.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#673299
RGBrgb(103, 50, 153)
HSLhsl(271, 51%, 40%)
HSVhsv(271, 67%, 60%)
CMYKcmyk(32.7%, 67.3%, 0%, 40%)
CIE-LABlab(32.84, 43.62, -47.24)
CIE-LCHlch(32.84, 64.30, 312.72°)
OKLaboklab(44.01% 0.0908 -0.1341)
OKLCHoklch(44.01% 0.162 304.1)
XYZxyz(12.4826, 7.4647, 30.9140)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673299 #649932
analogous
#343299 #673299 #993298
triadic
#673299 #996732 #329967
tetradic
#673299 #993432 #649932 #329899
square
#673299 #993432 #649932 #329899
split-complementary
#673299 #989932 #329934
monochromatic
#29143D #48236B #673299 #8646C2 #A474D2

Accessibility & contrast

On white

8.42
#673299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#673299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673299
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673299#FFFFFF#000000##FFFFFF
##6732991.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#0F4D97
Tritanopia (blue-blind)
#5E4961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #673299;
/* rgb */ color: rgb(103, 50, 153);
/* oklch */ color: oklch(44.0% 0.162 304.1);
Tailwind
colors: {
  custom: {
    50: '#966eb8',
    500: '#673299',
    950: '#000000',
  },
}
SCSS
$custom: #673299;
$custom-light: #966eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#673299",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 270.874,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.16191,
    "h": 304.1
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#673299
secondary
#92BA6D
accent
#DA4E92
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #673299

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

Preview Lab → · Contrast checker → · Palette generator →

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