#673197#673197

#673197 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.161 H 304.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#673197
RGBrgb(103, 49, 151)
HSLhsl(272, 51%, 39%)
HSVhsv(272, 68%, 59%)
CMYKcmyk(31.8%, 67.5%, 0%, 40.8%)
CIE-LABlab(32.51, 43.64, -46.55)
CIE-LCHlch(32.51, 63.81, 313.15°)
OKLaboklab(43.73% 0.0921 -0.1321)
OKLCHoklch(43.73% 0.161 304.9)
XYZxyz(12.2765, 7.3146, 30.0373)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673197 #619731
analogous
#343197 #673197 #973194
triadic
#673197 #976731 #319767
tetradic
#673197 #973431 #619731 #319497
square
#673197 #973431 #619731 #319497
split-complementary
#673197 #949731 #319734
monochromatic
#28133B #472269 #673197 #8643C2 #A471D1

Accessibility & contrast

On white

8.53
#673197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#673197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673197
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673197#FFFFFF#000000##FFFFFF
##6731971.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#114D95
Tritanopia (blue-blind)
#5E4760
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #673197;
/* rgb */ color: rgb(103, 49, 151);
/* oklch */ color: oklch(43.7% 0.161 304.9);
Tailwind
colors: {
  custom: {
    50: '#966db6',
    500: '#673197',
    950: '#000000',
  },
}
SCSS
$custom: #673197;
$custom-light: #966db6;
$custom-dark: #000000;
JSON
{
  "hex": "#673197",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 271.765,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.16103,
    "h": 304.9
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#673197
secondary
#90B96B
accent
#DA4D90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #673197

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

Preview Lab → · Contrast checker → · Palette generator →

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