#673898#673898

#673898 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.152 H 303.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#673898
RGBrgb(103, 56, 152)
HSLhsl(269, 46%, 41%)
HSVhsv(269, 63%, 60%)
CMYKcmyk(32.2%, 63.2%, 0%, 40.4%)
CIE-LABlab(33.94, 40.19, -44.86)
CIE-LCHlch(33.94, 60.23, 311.85°)
OKLaboklab(44.78% 0.0836 -0.1271)
OKLCHoklch(44.78% 0.152 303.3)
XYZxyz(12.6739, 7.9789, 30.5721)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673898 #699838
analogous
#383998 #673898 #973898
triadic
#673898 #986738 #389867
tetradic
#673898 #983839 #699838 #389897
square
#673898 #983839 #699838 #389897
split-complementary
#673898 #989738 #399838
monochromatic
#2A173F #49286B #673898 #854FBE #A47CCF

Accessibility & contrast

On white

8.09
#673898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#673898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673898
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673898#FFFFFF#000000##FFFFFF
##6738981.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#5E4C62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #673898;
/* rgb */ color: rgb(103, 56, 152);
/* oklch */ color: oklch(44.8% 0.152 303.3);
Tailwind
colors: {
  custom: {
    50: '#9671b7',
    500: '#673898',
    950: '#000000',
  },
}
SCSS
$custom: #673898;
$custom-light: #9671b7;
$custom-dark: #000000;
JSON
{
  "hex": "#673898",
  "rgb": {
    "r": 103,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 269.375,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44782,
    "c": 0.15215,
    "h": 303.3
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#673898
secondary
#97B874
accent
#D65295
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673898

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

Preview Lab → · Contrast checker → · Palette generator →

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