#673C98#673C98

#673C98 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.4% C 0.146 H 302.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#673C98
RGBrgb(103, 60, 152)
HSLhsl(268, 43%, 42%)
HSVhsv(268, 61%, 60%)
CMYKcmyk(32.2%, 60.5%, 0%, 40.4%)
CIE-LABlab(34.77, 37.97, -43.53)
CIE-LCHlch(34.77, 57.76, 311.10°)
OKLaboklab(45.38% 0.0785 -0.1232)
OKLCHoklch(45.38% 0.146 302.5)
XYZxyz(12.8756, 8.3823, 30.6393)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673C98 #6D983C
analogous
#3C3F98 #673C98 #953C98
triadic
#673C98 #98673C #3C9867
tetradic
#673C98 #983C3F #6D983C #3C9895
square
#673C98 #983C3F #6D983C #3C9895
split-complementary
#673C98 #98953C #3F983C
monochromatic
#2C1940 #492B6C #673C98 #8555BC #A581CD

Accessibility & contrast

On white

7.85
#673C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#673C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673C98
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673C98#FFFFFF#000000##FFFFFF
##673C981.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519B
Deuteranopia (green-blind)
#235196
Tritanopia (blue-blind)
#5D4F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673c98;
/* rgb */ color: rgb(103, 60, 152);
/* oklch */ color: oklch(45.4% 0.146 302.5);
Tailwind
colors: {
  custom: {
    50: '#9674b7',
    500: '#673c98',
    950: '#000000',
  },
}
SCSS
$custom: #673c98;
$custom-light: #9674b7;
$custom-dark: #000000;
JSON
{
  "hex": "#673c98",
  "rgb": {
    "r": 103,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 268.043,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.14611,
    "h": 302.5
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#673C98
secondary
#9AB779
accent
#D35598
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673C98

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

Preview Lab → · Contrast checker → · Palette generator →

#673C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva