#673BA8#673BA8

#673BA8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.167 H 298.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#673BA8
RGBrgb(103, 59, 168)
HSLhsl(264, 48%, 45%)
HSVhsv(264, 65%, 66%)
CMYKcmyk(38.7%, 64.9%, 0%, 34.1%)
CIE-LABlab(35.67, 42.74, -51.72)
CIE-LCHlch(35.67, 67.09, 309.57°)
OKLaboklab(46.4% 0.0788 -0.1473)
OKLCHoklch(46.4% 0.167 298.2)
XYZxyz(14.2236, 8.8384, 37.9948)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673BA8 #7CA83B
analogous
#3B46A8 #673BA8 #9E3BA8
triadic
#673BA8 #A8673B #3BA867
tetradic
#673BA8 #A83B46 #7CA83B #3BA89E
square
#673BA8 #A83B46 #7CA83B #3BA89E
split-complementary
#673BA8 #A89E3B #46A83B
monochromatic
#2F1B4D #4B2B7B #673BA8 #865BC5 #A788D5

Accessibility & contrast

On white

7.59
#673BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#673BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673BA8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673BA8#FFFFFF#000000##FFFFFF
##673BA81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#58546C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #673ba8;
/* rgb */ color: rgb(103, 59, 168);
/* oklch */ color: oklch(46.4% 0.167 298.2);
Tailwind
colors: {
  custom: {
    50: '#9774c3',
    500: '#673ba8',
    950: '#000000',
  },
}
SCSS
$custom: #673ba8;
$custom-light: #9774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#673ba8",
  "rgb": {
    "r": 103,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 264.22,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46395,
    "c": 0.16705,
    "h": 298.2
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#673BA8
secondary
#A6C07F
accent
#D850A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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