#672D9E#672D9E

#672D9E is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.174 H 303.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#672D9E
RGBrgb(103, 45, 158)
HSLhsl(271, 56%, 40%)
HSVhsv(271, 72%, 62%)
CMYKcmyk(34.8%, 71.5%, 0%, 38%)
CIE-LABlab(32.32, 47.34, -51.12)
CIE-LCHlch(32.32, 69.68, 312.80°)
OKLaboklab(43.76% 0.0956 -0.1455)
OKLCHoklch(43.76% 0.174 303.3)
XYZxyz(12.7020, 7.2290, 33.0673)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D9E #649E2D
analogous
#2E2D9E #672D9E #9E2D9D
triadic
#672D9E #9E672D #2D9E67
tetradic
#672D9E #9E2E2D #649E2D #2D9D9E
square
#672D9E #9E2E2D #649E2D #2D9D9E
split-complementary
#672D9E #9D9E2D #2D9E2E
monochromatic
#29123F #481F6E #672D9E #8640C9 #A46FD6

Accessibility & contrast

On white

8.59
#672D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672D9E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D9E#FFFFFF#000000##FFFFFF
##672D9E1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#5C4862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672d9e;
/* rgb */ color: rgb(103, 45, 158);
/* oklch */ color: oklch(43.8% 0.174 303.3);
Tailwind
colors: {
  custom: {
    50: '#976bbb',
    500: '#672d9e',
    950: '#000000',
  },
}
SCSS
$custom: #672d9e;
$custom-light: #976bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#672d9e",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 270.796,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.17408,
    "h": 303.3
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#672D9E
secondary
#92BD69
accent
#DF4992
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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