#672D96#672D96

#672D96 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.165 H 305.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#672D96
RGBrgb(103, 45, 150)
HSLhsl(273, 54%, 38%)
HSVhsv(273, 70%, 59%)
CMYKcmyk(31.3%, 70%, 0%, 41.2%)
CIE-LABlab(31.72, 45.39, -47.22)
CIE-LCHlch(31.72, 65.50, 313.86°)
OKLaboklab(43.14% 0.0968 -0.134)
OKLCHoklch(43.14% 0.165 305.8)
XYZxyz(12.0357, 6.9624, 29.5581)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D96 #5C962D
analogous
#322D96 #672D96 #962D90
triadic
#672D96 #96672D #2D9667
tetradic
#672D96 #96322D #5C962D #2D9096
square
#672D96 #96322D #5C962D #2D9096
split-complementary
#672D96 #90962D #2D9632
monochromatic
#261138 #471F67 #672D96 #873CC4 #A46BD3

Accessibility & contrast

On white

8.78
#672D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#672D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D96
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D96#FFFFFF#000000##FFFFFF
##672D961.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#5F455E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672d96;
/* rgb */ color: rgb(103, 45, 150);
/* oklch */ color: oklch(43.1% 0.165 305.8);
Tailwind
colors: {
  custom: {
    50: '#976bb6',
    500: '#672d96',
    950: '#000000',
  },
}
SCSS
$custom: #672d96;
$custom-light: #976bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#672d96",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 273.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.16532,
    "h": 305.8
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#672D96
secondary
#8BB965
accent
#DD4B8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672D96

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

Preview Lab → · Contrast checker → · Palette generator →

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