#672BAB#672BAB

#672BAB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.190 H 299.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#672BAB
RGBrgb(103, 43, 171)
HSLhsl(268, 60%, 42%)
HSVhsv(268, 75%, 67%)
CMYKcmyk(39.8%, 74.9%, 0%, 32.9%)
CIE-LABlab(33.03, 51.50, -57.80)
CIE-LCHlch(33.03, 77.41, 311.70°)
OKLaboklab(44.58% 0.095 -0.1651)
OKLCHoklch(44.58% 0.19 299.9)
XYZxyz(13.8062, 7.5514, 39.2504)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BAB #6FAB2B
analogous
#2B2FAB #672BAB #A72BAB
triadic
#672BAB #AB672B #2BAB67
tetradic
#672BAB #AB2B2F #6FAB2B #2BABA7
square
#672BAB #AB2B2F #6FAB2B #2BABA7
split-complementary
#672BAB #ABA72B #2FAB2B
monochromatic
#2C1249 #4A1F7A #672BAB #8543D0 #A574DC

Accessibility & contrast

On white

8.37
#672BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#672BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672BAB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BAB#FFFFFF#000000##FFFFFF
##672BAB1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#574C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672bab;
/* rgb */ color: rgb(103, 43, 171);
/* oklch */ color: oklch(44.6% 0.190 299.9);
Tailwind
colors: {
  custom: {
    50: '#996ac5',
    500: '#672bab',
    950: '#000000',
  },
}
SCSS
$custom: #672bab;
$custom-light: #996ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#672bab",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 268.125,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.19048,
    "h": 299.9
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#672BAB
secondary
#9CC46E
accent
#E34599
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #672BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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