#673286#673286

#673286 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.140 H 310.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#673286
RGBrgb(103, 50, 134)
HSLhsl(278, 46%, 36%)
HSVhsv(278, 63%, 53%)
CMYKcmyk(23.1%, 62.7%, 0%, 47.5%)
CIE-LABlab(31.55, 38.99, -37.65)
CIE-LCHlch(31.55, 54.20, 316.00°)
OKLaboklab(42.66% 0.0919 -0.1059)
OKLCHoklch(42.66% 0.14 310.9)
XYZxyz(11.0364, 6.8862, 23.2974)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673286 #518632
analogous
#3D3286 #673286 #86327B
triadic
#673286 #866732 #328667
tetradic
#673286 #863D32 #518632 #327B86
square
#673286 #863D32 #518632 #327B86
split-complementary
#673286 #7B8632 #32863D
monochromatic
#22112D #452159 #673286 #8943B3 #A56BC8

Accessibility & contrast

On white

8.83
#673286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#673286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673286
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673286#FFFFFF#000000##FFFFFF
##6732861.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#2A4B84
Tritanopia (blue-blind)
#634257
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #673286;
/* rgb */ color: rgb(103, 50, 134);
/* oklch */ color: oklch(42.7% 0.140 310.9);
Tailwind
colors: {
  custom: {
    50: '#956daa',
    500: '#673286',
    950: '#000000',
  },
}
SCSS
$custom: #673286;
$custom-light: #956daa;
$custom-dark: #000000;
JSON
{
  "hex": "#673286",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 277.857,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.14022,
    "h": 310.9
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#673286
secondary
#80AF64
accent
#D55283
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #673286

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

Preview Lab → · Contrast checker → · Palette generator →

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