#672D9B#672D9B

#672D9B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.171 H 304.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#672D9B
RGBrgb(103, 45, 155)
HSLhsl(272, 55%, 39%)
HSVhsv(272, 71%, 61%)
CMYKcmyk(33.5%, 71%, 0%, 39.2%)
CIE-LABlab(32.09, 46.61, -49.67)
CIE-LCHlch(32.09, 68.11, 313.18°)
OKLaboklab(43.52% 0.0961 -0.1412)
OKLCHoklch(43.52% 0.171 304.2)
XYZxyz(12.4470, 7.1269, 31.7239)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D9B #619B2D
analogous
#302D9B #672D9B #9B2D98
triadic
#672D9B #9B672D #2D9B67
tetradic
#672D9B #9B302D #619B2D #2D989B
square
#672D9B #9B302D #619B2D #2D989B
split-complementary
#672D9B #989B2D #2D9B30
monochromatic
#28113C #471F6C #672D9B #863EC7 #A46ED5

Accessibility & contrast

On white

8.66
#672D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#672D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D9B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D9B#FFFFFF#000000##FFFFFF
##672D9B1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#5D4761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672d9b;
/* rgb */ color: rgb(103, 45, 155);
/* oklch */ color: oklch(43.5% 0.171 304.2);
Tailwind
colors: {
  custom: {
    50: '#976bb9',
    500: '#672d9b',
    950: '#000000',
  },
}
SCSS
$custom: #672d9b;
$custom-light: #976bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#672d9b",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 271.636,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43523,
    "c": 0.17079,
    "h": 304.2
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#672D9B
secondary
#90BC68
accent
#DE4990
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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