#672DBB#672DBB

#672DBB is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.205 H 295.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#672DBB
RGBrgb(103, 45, 187)
HSLhsl(265, 61%, 45%)
HSVhsv(265, 76%, 73%)
CMYKcmyk(44.9%, 75.9%, 0%, 26.7%)
CIE-LABlab(34.70, 54.64, -64.59)
CIE-LCHlch(34.70, 84.61, 310.23°)
OKLaboklab(46.17% 0.0893 -0.1851)
OKLCHoklch(46.17% 0.205 295.8)
XYZxyz(15.4991, 8.3478, 47.7988)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672DBB #81BB2D
analogous
#2D3ABB #672DBB #AE2DBB
triadic
#672DBB #BB672D #2DBB67
tetradic
#672DBB #BB2D3A #81BB2D #2DBBAE
square
#672DBB #BB2D3A #81BB2D #2DBBAE
split-complementary
#672DBB #BBAE2D #3ABB2D
monochromatic
#311558 #4C218A #672DBB #8650D5 #A882E1

Accessibility & contrast

On white

7.87
#672DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#672DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672DBB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672DBB#FFFFFF#000000##FFFFFF
##672DBB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#505372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #672dbb;
/* rgb */ color: rgb(103, 45, 187);
/* oklch */ color: oklch(46.2% 0.205 295.8);
Tailwind
colors: {
  custom: {
    50: '#9a6cd1',
    500: '#672dbb',
    950: '#000000',
  },
}
SCSS
$custom: #672dbb;
$custom-light: #9a6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#672dbb",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 264.507,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.20547,
    "h": 295.8
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#672DBB
secondary
#A9CA7A
accent
#E443A3
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #672DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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