#672B98#672B98

#672B98 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.170 H 305.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#672B98
RGBrgb(103, 43, 152)
HSLhsl(273, 56%, 38%)
HSVhsv(273, 72%, 60%)
CMYKcmyk(32.2%, 71.7%, 0%, 40.4%)
CIE-LABlab(31.53, 46.83, -48.76)
CIE-LCHlch(31.53, 67.60, 313.84°)
OKLaboklab(43.05% 0.0987 -0.1385)
OKLCHoklch(43.05% 0.17 305.5)
XYZxyz(12.1236, 6.8784, 30.3886)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672B98 #5C982B
analogous
#312B98 #672B98 #982B92
triadic
#672B98 #98672B #2B9867
tetradic
#672B98 #98312B #5C982B #2B9298
square
#672B98 #98312B #5C982B #2B9298
split-complementary
#672B98 #92982B #2B9831
monochromatic
#261039 #471E68 #672B98 #8739C7 #A469D5

Accessibility & contrast

On white

8.84
#672B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#672B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672B98
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672B98#FFFFFF#000000##FFFFFF
##672B981.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672b98;
/* rgb */ color: rgb(103, 43, 152);
/* oklch */ color: oklch(43.0% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#976ab7',
    500: '#672b98',
    950: '#000000',
  },
}
SCSS
$custom: #672b98;
$custom-light: #976ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#672b98",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 273.028,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.17008,
    "h": 305.5
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #672B98

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

Preview Lab → · Contrast checker → · Palette generator →

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