#672AB1#672AB1

#672AB1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.198 H 298.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#672AB1
RGBrgb(103, 42, 177)
HSLhsl(267, 62%, 43%)
HSVhsv(267, 76%, 69%)
CMYKcmyk(41.8%, 76.3%, 0%, 30.6%)
CIE-LABlab(33.38, 53.43, -60.82)
CIE-LCHlch(33.38, 80.96, 311.30°)
OKLaboklab(44.98% 0.0944 -0.174)
OKLCHoklch(44.98% 0.198 298.5)
XYZxyz(14.3553, 7.7136, 42.3190)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AB1 #74B12A
analogous
#2A30B1 #672AB1 #AA2AB1
triadic
#672AB1 #B1672A #2AB167
tetradic
#672AB1 #B12A30 #74B12A #2AB1AA
square
#672AB1 #B12A30 #74B12A #2AB1AA
split-complementary
#672AB1 #B1AA2A #30B12A
monochromatic
#2D134E #4A1E80 #672AB1 #8545D3 #A677DF

Accessibility & contrast

On white

8.26
#672AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#672AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AB1
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AB1#FFFFFF#000000##FFFFFF
##672AB11.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#554E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672ab1;
/* rgb */ color: rgb(103, 42, 177);
/* oklch */ color: oklch(45.0% 0.198 298.5);
Tailwind
colors: {
  custom: {
    50: '#996ac9',
    500: '#672ab1',
    950: '#000000',
  },
}
SCSS
$custom: #672ab1;
$custom-light: #996ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#672ab1",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 267.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.19792,
    "h": 298.5
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#672AB1
secondary
#A0C670
accent
#E5439C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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