#672AB3#672AB3

#672AB3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.200 H 298.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#672AB3
RGBrgb(103, 42, 179)
HSLhsl(267, 62%, 43%)
HSVhsv(267, 77%, 70%)
CMYKcmyk(42.5%, 76.5%, 0%, 29.8%)
CIE-LABlab(33.55, 53.93, -61.73)
CIE-LCHlch(33.55, 81.97, 311.14°)
OKLaboklab(45.16% 0.0939 -0.1766)
OKLCHoklch(45.16% 0.2 298)
XYZxyz(14.5561, 7.7939, 43.3766)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AB3 #76B32A
analogous
#2A32B3 #672AB3 #AB2AB3
triadic
#672AB3 #B3672A #2AB367
tetradic
#672AB3 #B32A32 #76B32A #2AB3AB
square
#672AB3 #B32A32 #76B32A #2AB3AB
split-complementary
#672AB3 #B3AB2A #32B32A
monochromatic
#2E1350 #4A1E81 #672AB3 #8546D4 #A678DF

Accessibility & contrast

On white

8.21
#672AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#672AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AB3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AB3#FFFFFF#000000##FFFFFF
##672AB31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#544F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672ab3;
/* rgb */ color: rgb(103, 42, 179);
/* oklch */ color: oklch(45.2% 0.200 298.0);
Tailwind
colors: {
  custom: {
    50: '#9a6acb',
    500: '#672ab3',
    950: '#000000',
  },
}
SCSS
$custom: #672ab3;
$custom-light: #9a6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#672ab3",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 266.715,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.20003,
    "h": 298
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#672AB3
secondary
#A1C772
accent
#E5439D
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672AB3

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

Preview Lab → · Contrast checker → · Palette generator →

#672AB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva