#672AB5#672AB5

#672AB5 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.202 H 297.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#672AB5
RGBrgb(103, 42, 181)
HSLhsl(266, 62%, 44%)
HSVhsv(266, 77%, 71%)
CMYKcmyk(43.1%, 76.8%, 0%, 29%)
CIE-LABlab(33.72, 54.43, -62.64)
CIE-LCHlch(33.72, 82.98, 310.99°)
OKLaboklab(45.33% 0.0934 -0.1793)
OKLCHoklch(45.33% 0.202 297.5)
XYZxyz(14.7598, 7.8754, 44.4496)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AB5 #78B52A
analogous
#2A32B5 #672AB5 #AC2AB5
triadic
#672AB5 #B5672A #2AB567
tetradic
#672AB5 #B52A32 #78B52A #2AB5AC
square
#672AB5 #B52A32 #78B52A #2AB5AC
split-complementary
#672AB5 #B5AC2A #32B52A
monochromatic
#2E1352 #4B1E83 #672AB5 #8548D4 #A679E0

Accessibility & contrast

On white

8.15
#672AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#672AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AB5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AB5#FFFFFF#000000##FFFFFF
##672AB51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#534F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672ab5;
/* rgb */ color: rgb(103, 42, 181);
/* oklch */ color: oklch(45.3% 0.202 297.5);
Tailwind
colors: {
  custom: {
    50: '#9a6acc',
    500: '#672ab5',
    950: '#000000',
  },
}
SCSS
$custom: #672ab5;
$custom-light: #9a6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#672ab5",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 266.331,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.20214,
    "h": 297.5
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#672AB5
secondary
#A3C873
accent
#E5429E
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #672AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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