#672CB4#672CB4

#672CB4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.199 H 297.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#672CB4
RGBrgb(103, 44, 180)
HSLhsl(266, 61%, 44%)
HSVhsv(266, 76%, 71%)
CMYKcmyk(42.8%, 75.6%, 0%, 29.4%)
CIE-LABlab(33.94, 53.31, -61.69)
CIE-LCHlch(33.94, 81.53, 310.83°)
OKLaboklab(45.46% 0.0919 -0.1765)
OKLCHoklch(45.46% 0.199 297.5)
XYZxyz(14.7303, 7.9799, 43.9354)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672CB4 #79B42C
analogous
#2C35B4 #672CB4 #AB2CB4
triadic
#672CB4 #B4672C #2CB467
tetradic
#672CB4 #B42C35 #79B42C #2CB4AB
square
#672CB4 #B42C35 #79B42C #2CB4AB
split-complementary
#672CB4 #B4AB2C #35B42C
monochromatic
#2F1452 #4B2083 #672CB4 #864AD3 #A77CDF

Accessibility & contrast

On white

8.09
#672CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#672CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672CB4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672CB4#FFFFFF#000000##FFFFFF
##672CB41.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672cb4;
/* rgb */ color: rgb(103, 44, 180);
/* oklch */ color: oklch(45.5% 0.199 297.5);
Tailwind
colors: {
  custom: {
    50: '#9a6bcb',
    500: '#672cb4',
    950: '#000000',
  },
}
SCSS
$custom: #672cb4;
$custom-light: #9a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#672cb4",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 266.029,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45457,
    "c": 0.19901,
    "h": 297.5
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#672CB4
secondary
#A3C775
accent
#E4449E
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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