#672AAB#672AAB

#672AAB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.192 H 300.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#672AAB
RGBrgb(103, 42, 171)
HSLhsl(268, 61%, 42%)
HSVhsv(268, 75%, 67%)
CMYKcmyk(39.8%, 75.4%, 0%, 32.9%)
CIE-LABlab(32.87, 51.94, -58.06)
CIE-LCHlch(32.87, 77.90, 311.82°)
OKLaboklab(44.47% 0.0959 -0.1658)
OKLCHoklch(44.47% 0.192 300)
XYZxyz(13.7703, 7.4796, 39.2384)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AAB #6EAB2A
analogous
#2A2EAB #672AAB #A82AAB
triadic
#672AAB #AB672A #2AAB67
tetradic
#672AAB #AB2A2E #6EAB2A #2AABA8
square
#672AAB #AB2A2E #6EAB2A #2AABA8
split-complementary
#672AAB #ABA82A #2EAB2A
monochromatic
#2C1249 #491E7A #672AAB #8542D1 #A573DD

Accessibility & contrast

On white

8.41
#672AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#672AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AAB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AAB#FFFFFF#000000##FFFFFF
##672AAB1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#574B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #672aab;
/* rgb */ color: rgb(103, 42, 171);
/* oklch */ color: oklch(44.5% 0.192 300.0);
Tailwind
colors: {
  custom: {
    50: '#996ac5',
    500: '#672aab',
    950: '#000000',
  },
}
SCSS
$custom: #672aab;
$custom-light: #996ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#672aab",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 268.372,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44473,
    "c": 0.19158,
    "h": 300
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#672AAB
secondary
#9BC46D
accent
#E44498
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #672AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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