#672DB4#672DB4

#672DB4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.198 H 297.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#672DB4
RGBrgb(103, 45, 180)
HSLhsl(266, 60%, 44%)
HSVhsv(266, 75%, 71%)
CMYKcmyk(42.8%, 75%, 0%, 29.4%)
CIE-LABlab(34.10, 52.86, -61.43)
CIE-LCHlch(34.10, 81.04, 310.71°)
OKLaboklab(45.57% 0.091 -0.1758)
OKLCHoklch(45.57% 0.198 297.4)
XYZxyz(14.7680, 8.0553, 43.9479)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672DB4 #7AB42D
analogous
#2D36B4 #672DB4 #AB2DB4
triadic
#672DB4 #B4672D #2DB467
tetradic
#672DB4 #B42D36 #7AB42D #2DB4AB
square
#672DB4 #B42D36 #7AB42D #2DB4AB
split-complementary
#672DB4 #B4AB2D #36B42D
monochromatic
#2F1552 #4B2183 #672DB4 #864CD2 #A77DDE

Accessibility & contrast

On white

8.04
#672DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#672DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672DB4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672DB4#FFFFFF#000000##FFFFFF
##672DB41.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#53506F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672db4;
/* rgb */ color: rgb(103, 45, 180);
/* oklch */ color: oklch(45.6% 0.198 297.4);
Tailwind
colors: {
  custom: {
    50: '#996ccb',
    500: '#672db4',
    950: '#000000',
  },
}
SCSS
$custom: #672db4;
$custom-light: #996ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#672db4",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 265.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.19795,
    "h": 297.4
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#672DB4
secondary
#A4C776
accent
#E3459F
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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