#673397#673397

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

Color values

HEX#673397
RGBrgb(103, 51, 151)
HSLhsl(271, 50%, 40%)
HSVhsv(271, 66%, 59%)
CMYKcmyk(31.8%, 66.2%, 0%, 40.8%)
CIE-LABlab(32.89, 42.61, -45.95)
CIE-LCHlch(32.89, 62.66, 312.84°)
OKLaboklab(44% 0.0898 -0.1303)
OKLCHoklch(44% 0.158 304.6)
XYZxyz(12.3620, 7.4856, 30.0658)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673397 #639733
analogous
#353397 #673397 #973395
triadic
#673397 #976733 #339767
tetradic
#673397 #973533 #639733 #339597
square
#673397 #973533 #639733 #339597
split-complementary
#673397 #959733 #339735
monochromatic
#29143C #482469 #673397 #8647C1 #A474D0

Accessibility & contrast

On white

8.41
#673397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#673397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673397
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673397#FFFFFF#000000##FFFFFF
##6733971.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#5E4960
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #673397;
/* rgb */ color: rgb(103, 51, 151);
/* oklch */ color: oklch(44.0% 0.158 304.6);
Tailwind
colors: {
  custom: {
    50: '#966eb6',
    500: '#673397',
    950: '#000000',
  },
}
SCSS
$custom: #673397;
$custom-light: #966eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#673397",
  "rgb": {
    "r": 103,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 271.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44,
    "c": 0.15823,
    "h": 304.6
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#673397
secondary
#91B86D
accent
#D94F91
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #673397

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

Preview Lab → · Contrast checker → · Palette generator →

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