#673196#673196

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

Color values

HEX#673196
RGBrgb(103, 49, 150)
HSLhsl(272, 51%, 39%)
HSVhsv(272, 67%, 59%)
CMYKcmyk(31.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(32.44, 43.39, -46.06)
CIE-LCHlch(32.44, 63.28, 313.29°)
OKLaboklab(43.66% 0.0922 -0.1306)
OKLCHoklch(43.66% 0.16 305.2)
XYZxyz(12.1956, 7.2823, 29.6114)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673196 #609631
analogous
#343196 #673196 #963193
triadic
#673196 #966731 #319667
tetradic
#673196 #963431 #609631 #319396
square
#673196 #963431 #609631 #319396
split-complementary
#673196 #939631 #319634
monochromatic
#28133A #472268 #673196 #8643C1 #A471D1

Accessibility & contrast

On white

8.55
#673196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #673196
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673196#FFFFFF#000000##FFFFFF
##6731961.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#134C94
Tritanopia (blue-blind)
#5F475F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #673196;
/* rgb */ color: rgb(103, 49, 150);
/* oklch */ color: oklch(43.7% 0.160 305.2);
Tailwind
colors: {
  custom: {
    50: '#966db5',
    500: '#673196',
    950: '#000000',
  },
}
SCSS
$custom: #673196;
$custom-light: #966db5;
$custom-dark: #000000;
JSON
{
  "hex": "#673196",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 272.079,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43655,
    "c": 0.1599,
    "h": 305.2
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#673196
secondary
#8FB86A
accent
#DA4E8F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #673196

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

Preview Lab → · Contrast checker → · Palette generator →

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