#672DB1#672DB1

#672DB1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.195 H 298.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#672DB1
RGBrgb(103, 45, 177)
HSLhsl(266, 59%, 44%)
HSVhsv(266, 75%, 69%)
CMYKcmyk(41.8%, 74.6%, 0%, 30.6%)
CIE-LABlab(33.85, 52.10, -60.06)
CIE-LCHlch(33.85, 79.51, 310.94°)
OKLaboklab(45.31% 0.0918 -0.1717)
OKLCHoklch(45.31% 0.195 298.1)
XYZxyz(14.4657, 7.9344, 42.3558)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672DB1 #77B12D
analogous
#2D35B1 #672DB1 #A92DB1
triadic
#672DB1 #B1672D #2DB167
tetradic
#672DB1 #B12D35 #77B12D #2DB1A9
square
#672DB1 #B12D35 #77B12D #2DB1A9
split-complementary
#672DB1 #B1A92D #35B12D
monochromatic
#2E144F #4B2180 #672DB1 #854AD1 #A67BDD

Accessibility & contrast

On white

8.12
#672DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#672DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672DB1
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672DB1#FFFFFF#000000##FFFFFF
##672DB11.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#544F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672db1;
/* rgb */ color: rgb(103, 45, 177);
/* oklch */ color: oklch(45.3% 0.195 298.1);
Tailwind
colors: {
  custom: {
    50: '#996cc9',
    500: '#672db1',
    950: '#000000',
  },
}
SCSS
$custom: #672db1;
$custom-light: #996cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#672db1",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 266.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.19472,
    "h": 298.1
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#672DB1
secondary
#A2C674
accent
#E3459D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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