#672D9F#672D9F

#672D9F is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.175 H 303.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#672D9F
RGBrgb(103, 45, 159)
HSLhsl(271, 56%, 40%)
HSVhsv(271, 72%, 62%)
CMYKcmyk(35.2%, 71.7%, 0%, 37.6%)
CIE-LABlab(32.40, 47.59, -51.60)
CIE-LCHlch(32.40, 70.20, 312.69°)
OKLaboklab(43.84% 0.0954 -0.1469)
OKLCHoklch(43.84% 0.175 303)
XYZxyz(12.7884, 7.2635, 33.5224)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D9F #659F2D
analogous
#2E2D9F #672D9F #9F2D9E
triadic
#672D9F #9F672D #2D9F67
tetradic
#672D9F #9F2E2D #659F2D #2D9E9F
square
#672D9F #9F2E2D #659F2D #2D9E9F
split-complementary
#672D9F #9E9F2D #2D9F2E
monochromatic
#291240 #48206F #672D9F #8640C9 #A470D6

Accessibility & contrast

On white

8.56
#672D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#672D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D9F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D9F#FFFFFF#000000##FFFFFF
##672D9F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#5C4863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672d9f;
/* rgb */ color: rgb(103, 45, 159);
/* oklch */ color: oklch(43.8% 0.175 303.0);
Tailwind
colors: {
  custom: {
    50: '#976bbc',
    500: '#672d9f',
    950: '#000000',
  },
}
SCSS
$custom: #672d9f;
$custom-light: #976bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#672d9f",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 270.526,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.43837,
    "c": 0.17517,
    "h": 303
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#672D9F
secondary
#93BE6A
accent
#DF4993
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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