#673D98#673D98

#673D98 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.5% C 0.145 H 302.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#673D98
RGBrgb(103, 61, 152)
HSLhsl(268, 43%, 42%)
HSVhsv(268, 60%, 60%)
CMYKcmyk(32.2%, 59.9%, 0%, 40.4%)
CIE-LABlab(34.98, 37.40, -43.19)
CIE-LCHlch(34.98, 57.13, 310.89°)
OKLaboklab(45.54% 0.0772 -0.1222)
OKLCHoklch(45.54% 0.145 302.3)
XYZxyz(12.9284, 8.4880, 30.6569)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673D98 #6E983D
analogous
#3D4198 #673D98 #953D98
triadic
#673D98 #98673D #3D9867
tetradic
#673D98 #983D41 #6E983D #3D9895
square
#673D98 #983D41 #6E983D #3D9895
split-complementary
#673D98 #98953D #41983D
monochromatic
#2C1A41 #492B6C #673D98 #8557BB #A582CD

Accessibility & contrast

On white

7.78
#673D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#673D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673D98
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673D98#FFFFFF#000000##FFFFFF
##673D981.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#5D4F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #673d98;
/* rgb */ color: rgb(103, 61, 152);
/* oklch */ color: oklch(45.5% 0.145 302.3);
Tailwind
colors: {
  custom: {
    50: '#9674b7',
    500: '#673d98',
    950: '#000000',
  },
}
SCSS
$custom: #673d98;
$custom-light: #9674b7;
$custom-dark: #000000;
JSON
{
  "hex": "#673d98",
  "rgb": {
    "r": 103,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 267.692,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.14457,
    "h": 302.3
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#673D98
secondary
#9BB77A
accent
#D35599
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673D98

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

Preview Lab → · Contrast checker → · Palette generator →

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