#673BA2#673BA2

#673BA2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.160 H 299.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#673BA2
RGBrgb(103, 59, 162)
HSLhsl(266, 47%, 43%)
HSVhsv(266, 64%, 64%)
CMYKcmyk(36.4%, 63.6%, 0%, 36.5%)
CIE-LABlab(35.24, 41.14, -48.81)
CIE-LCHlch(35.24, 63.84, 310.13°)
OKLaboklab(45.95% 0.0793 -0.1387)
OKLCHoklch(45.95% 0.16 299.8)
XYZxyz(13.6775, 8.6200, 35.1187)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673BA2 #76A23B
analogous
#3B42A2 #673BA2 #9A3BA2
triadic
#673BA2 #A2673B #3BA267
tetradic
#673BA2 #A23B42 #76A23B #3BA29A
square
#673BA2 #A23B42 #76A23B #3BA29A
split-complementary
#673BA2 #A29A3B #42A23B
monochromatic
#2E1A48 #4A2B75 #673BA2 #8558C2 #A685D3

Accessibility & contrast

On white

7.71
#673BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#673BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673BA2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673BA2#FFFFFF#000000##FFFFFF
##673BA21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#5A5269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #673ba2;
/* rgb */ color: rgb(103, 59, 162);
/* oklch */ color: oklch(45.9% 0.160 299.8);
Tailwind
colors: {
  custom: {
    50: '#9773be',
    500: '#673ba2',
    950: '#000000',
  },
}
SCSS
$custom: #673ba2;
$custom-light: #9773be;
$custom-dark: #000000;
JSON
{
  "hex": "#673ba2",
  "rgb": {
    "r": 103,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 265.631,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.15981,
    "h": 299.8
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#673BA2
secondary
#A1BD7C
accent
#D6529E
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #673BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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