#672BB4#672BB4

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

Color values

HEX#672BB4
RGBrgb(103, 43, 180)
HSLhsl(266, 61%, 44%)
HSVhsv(266, 76%, 71%)
CMYKcmyk(42.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(33.79, 53.75, -61.94)
CIE-LCHlch(33.79, 82.01, 310.95°)
OKLaboklab(45.35% 0.0928 -0.1772)
OKLCHoklch(45.35% 0.2 297.6)
XYZxyz(14.6935, 7.9063, 43.9231)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BB4 #78B42B
analogous
#2B34B4 #672BB4 #AB2BB4
triadic
#672BB4 #B4672B #2BB467
tetradic
#672BB4 #B42B34 #78B42B #2BB4AB
square
#672BB4 #B42B34 #78B42B #2BB4AB
split-complementary
#672BB4 #B4AB2B #34B42B
monochromatic
#2E1351 #4B1F83 #672BB4 #8549D3 #A67ADF

Accessibility & contrast

On white

8.14
#672BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672BB4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BB4#FFFFFF#000000##FFFFFF
##672BB41.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#53506E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672bb4;
/* rgb */ color: rgb(103, 43, 180);
/* oklch */ color: oklch(45.3% 0.200 297.6);
Tailwind
colors: {
  custom: {
    50: '#9a6bcb',
    500: '#672bb4',
    950: '#000000',
  },
}
SCSS
$custom: #672bb4;
$custom-light: #9a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#672bb4",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 266.277,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45349,
    "c": 0.20006,
    "h": 297.6
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#672BB4
secondary
#A3C773
accent
#E5439E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #672BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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