#673F97#673F97

#673F97 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.8% C 0.140 H 302.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#673F97
RGBrgb(103, 63, 151)
HSLhsl(267, 41%, 42%)
HSVhsv(267, 58%, 59%)
CMYKcmyk(31.8%, 58.3%, 0%, 40.8%)
CIE-LABlab(35.35, 36.00, -41.99)
CIE-LCHlch(35.35, 55.31, 310.61°)
OKLaboklab(45.79% 0.0746 -0.1187)
OKLCHoklch(45.79% 0.14 302.1)
XYZxyz(12.9557, 8.6729, 30.2637)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673F97 #6F973F
analogous
#3F4397 #673F97 #933F97
triadic
#673F97 #97673F #3F9767
tetradic
#673F97 #973F43 #6F973F #3F9793
square
#673F97 #973F43 #6F973F #3F9793
split-complementary
#673F97 #97933F #43973F
monochromatic
#2C1B41 #4A2D6C #673F97 #8559BA #A585CC

Accessibility & contrast

On white

7.68
#673F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#673F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673F97
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673F97#FFFFFF#000000##FFFFFF
##673F971.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19529A
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#5E5165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #673f97;
/* rgb */ color: rgb(103, 63, 151);
/* oklch */ color: oklch(45.8% 0.140 302.1);
Tailwind
colors: {
  custom: {
    50: '#9576b6',
    500: '#673f97',
    950: '#000000',
  },
}
SCSS
$custom: #673f97;
$custom-light: #9576b6;
$custom-dark: #000000;
JSON
{
  "hex": "#673f97",
  "rgb": {
    "r": 103,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 267.273,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.14021,
    "h": 302.1
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#673F97
secondary
#9CB67C
accent
#D15799
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673F97

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

Preview Lab → · Contrast checker → · Palette generator →

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