#672AB2#672AB2

#672AB2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.199 H 298.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#672AB2
RGBrgb(103, 42, 178)
HSLhsl(267, 62%, 43%)
HSVhsv(267, 76%, 70%)
CMYKcmyk(42.1%, 76.4%, 0%, 30.2%)
CIE-LABlab(33.46, 53.68, -61.28)
CIE-LCHlch(33.46, 81.46, 311.22°)
OKLaboklab(45.07% 0.0941 -0.1753)
OKLCHoklch(45.07% 0.199 298.2)
XYZxyz(14.4553, 7.7536, 42.8459)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AB2 #75B22A
analogous
#2A31B2 #672AB2 #AB2AB2
triadic
#672AB2 #B2672A #2AB267
tetradic
#672AB2 #B22A31 #75B22A #2AB2AB
square
#672AB2 #B22A31 #75B22A #2AB2AB
split-complementary
#672AB2 #B2AB2A #31B22A
monochromatic
#2E134F #4A1E80 #672AB2 #8546D3 #A677DF

Accessibility & contrast

On white

8.23
#672AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#672AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AB2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AB2#FFFFFF#000000##FFFFFF
##672AB21.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#544E6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672ab2;
/* rgb */ color: rgb(103, 42, 178);
/* oklch */ color: oklch(45.1% 0.199 298.2);
Tailwind
colors: {
  custom: {
    50: '#996aca',
    500: '#672ab2',
    950: '#000000',
  },
}
SCSS
$custom: #672ab2;
$custom-light: #996aca;
$custom-dark: #000000;
JSON
{
  "hex": "#672ab2",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 266.912,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.19898,
    "h": 298.2
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#672AB2
secondary
#A0C771
accent
#E5439C
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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