#672AB4#672AB4

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

Color values

HEX#672AB4
RGBrgb(103, 42, 180)
HSLhsl(267, 62%, 44%)
HSVhsv(267, 77%, 71%)
CMYKcmyk(42.8%, 76.7%, 0%, 29.4%)
CIE-LABlab(33.64, 54.18, -62.18)
CIE-LCHlch(33.64, 82.48, 311.07°)
OKLaboklab(45.24% 0.0936 -0.178)
OKLCHoklch(45.24% 0.201 297.7)
XYZxyz(14.6576, 7.8345, 43.9111)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AB4 #77B42A
analogous
#2A32B4 #672AB4 #AC2AB4
triadic
#672AB4 #B4672A #2AB467
tetradic
#672AB4 #B42A32 #77B42A #2AB4AC
square
#672AB4 #B42A32 #77B42A #2AB4AC
split-complementary
#672AB4 #B4AC2A #32B42A
monochromatic
#2E1351 #4B1E82 #672AB4 #8547D4 #A679E0

Accessibility & contrast

On white

8.18
#672AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#672AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AB4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AB4#FFFFFF#000000##FFFFFF
##672AB41.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#534F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672ab4;
/* rgb */ color: rgb(103, 42, 180);
/* oklch */ color: oklch(45.2% 0.201 297.7);
Tailwind
colors: {
  custom: {
    50: '#9a6acb',
    500: '#672ab4',
    950: '#000000',
  },
}
SCSS
$custom: #672ab4;
$custom-light: #9a6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#672ab4",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 266.522,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.20109,
    "h": 297.7
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#672AB4
secondary
#A2C872
accent
#E5439D
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #672AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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