#672CAF#672CAF

#672CAF is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.194 H 298.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#672CAF
RGBrgb(103, 44, 175)
HSLhsl(267, 60%, 43%)
HSVhsv(267, 75%, 69%)
CMYKcmyk(41.1%, 74.9%, 0%, 31.4%)
CIE-LABlab(33.52, 52.05, -59.40)
CIE-LCHlch(33.52, 78.97, 311.23°)
OKLaboklab(45.03% 0.0931 -0.1698)
OKLCHoklch(45.03% 0.194 298.7)
XYZxyz(14.2301, 7.7799, 41.3011)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672CAF #74AF2C
analogous
#2C32AF #672CAF #A82CAF
triadic
#672CAF #AF672C #2CAF67
tetradic
#672CAF #AF2C32 #74AF2C #2CAFA8
square
#672CAF #AF2C32 #74AF2C #2CAFA8
split-complementary
#672CAF #AFA82C #32AF2C
monochromatic
#2D134D #4A207E #672CAF #8547D1 #A678DD

Accessibility & contrast

On white

8.22
#672CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#672CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672CAF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672CAF#FFFFFF#000000##FFFFFF
##672CAF1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#554E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672caf;
/* rgb */ color: rgb(103, 44, 175);
/* oklch */ color: oklch(45.0% 0.194 298.7);
Tailwind
colors: {
  custom: {
    50: '#996bc8',
    500: '#672caf',
    950: '#000000',
  },
}
SCSS
$custom: #672caf;
$custom-light: #996bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#672caf",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 267.023,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.19365,
    "h": 298.7
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#672CAF
secondary
#A0C572
accent
#E3459C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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