#672B97#672B97

#672B97 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.169 H 305.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#672B97
RGBrgb(103, 43, 151)
HSLhsl(273, 56%, 38%)
HSVhsv(273, 72%, 59%)
CMYKcmyk(31.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(31.45, 46.59, -48.27)
CIE-LCHlch(31.45, 67.08, 313.98°)
OKLaboklab(42.97% 0.0989 -0.1371)
OKLCHoklch(42.97% 0.169 305.8)
XYZxyz(12.0421, 6.8458, 29.9591)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672B97 #5B972B
analogous
#312B97 #672B97 #972B91
triadic
#672B97 #97672B #2B9767
tetradic
#672B97 #97312B #5B972B #2B9197
square
#672B97 #97312B #5B972B #2B9197
split-complementary
#672B97 #91972B #2B9731
monochromatic
#261038 #471D67 #672B97 #8739C7 #A468D4

Accessibility & contrast

On white

8.86
#672B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#672B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672B97
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672B97#FFFFFF#000000##FFFFFF
##672B971.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#5E445E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #672b97;
/* rgb */ color: rgb(103, 43, 151);
/* oklch */ color: oklch(43.0% 0.169 305.8);
Tailwind
colors: {
  custom: {
    50: '#976ab6',
    500: '#672b97',
    950: '#000000',
  },
}
SCSS
$custom: #672b97;
$custom-light: #976ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#672b97",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 273.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.16901,
    "h": 305.8
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#672B97
secondary
#8ABB63
accent
#DF498C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672B97

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

Preview Lab → · Contrast checker → · Palette generator →

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