#672AB7#672AB7

#672AB7 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.204 H 297.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#672AB7
RGBrgb(103, 42, 183)
HSLhsl(266, 63%, 44%)
HSVhsv(266, 77%, 72%)
CMYKcmyk(43.7%, 77%, 0%, 28.2%)
CIE-LABlab(33.90, 54.93, -63.54)
CIE-LCHlch(33.90, 83.99, 310.85°)
OKLaboklab(45.5% 0.0928 -0.1819)
OKLCHoklch(45.5% 0.204 297)
XYZxyz(14.9665, 7.9581, 45.5381)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AB7 #7AB72A
analogous
#2A34B7 #672AB7 #AE2AB7
triadic
#672AB7 #B7672A #2AB767
tetradic
#672AB7 #B72A34 #7AB72A #2AB7AE
square
#672AB7 #B72A34 #7AB72A #2AB7AE
split-complementary
#672AB7 #B7AE2A #34B72A
monochromatic
#2F1353 #4B1F85 #672AB7 #8649D5 #A77BE1

Accessibility & contrast

On white

8.10
#672AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#672AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AB7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AB7#FFFFFF#000000##FFFFFF
##672AB71.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#525070
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672ab7;
/* rgb */ color: rgb(103, 42, 183);
/* oklch */ color: oklch(45.5% 0.204 297.0);
Tailwind
colors: {
  custom: {
    50: '#9a6bce',
    500: '#672ab7',
    950: '#000000',
  },
}
SCSS
$custom: #672ab7;
$custom-light: #9a6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#672ab7",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 265.957,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.20424,
    "h": 297
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#672AB7
secondary
#A4C974
accent
#E6429F
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #672AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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