#673186#673186

#673186 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.142 H 311.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#673186
RGBrgb(103, 49, 134)
HSLhsl(278, 46%, 36%)
HSVhsv(278, 63%, 53%)
CMYKcmyk(23.1%, 63.4%, 0%, 47.5%)
CIE-LABlab(31.35, 39.52, -37.96)
CIE-LCHlch(31.35, 54.80, 316.15°)
OKLaboklab(42.52% 0.0932 -0.1068)
OKLCHoklch(42.52% 0.142 311.1)
XYZxyz(10.9941, 6.8017, 23.2833)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673186 #508631
analogous
#3C3186 #673186 #86317A
triadic
#673186 #866731 #318667
tetradic
#673186 #863C31 #508631 #317A86
square
#673186 #863C31 #508631 #317A86
split-complementary
#673186 #7A8631 #31863C
monochromatic
#22102C #452159 #673186 #8941B3 #A669C8

Accessibility & contrast

On white

8.90
#673186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#673186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673186
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673186#FFFFFF#000000##FFFFFF
##6731861.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#634157
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #673186;
/* rgb */ color: rgb(103, 49, 134);
/* oklch */ color: oklch(42.5% 0.142 311.1);
Tailwind
colors: {
  custom: {
    50: '#956caa',
    500: '#673186',
    950: '#000000',
  },
}
SCSS
$custom: #673186;
$custom-light: #956caa;
$custom-dark: #000000;
JSON
{
  "hex": "#673186",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 278.118,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.14176,
    "h": 311.1
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#673186
secondary
#7FB063
accent
#D65282
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #673186

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

Preview Lab → · Contrast checker → · Palette generator →

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