#672C98#672C98

#672C98 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.169 H 305.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#672C98
RGBrgb(103, 44, 152)
HSLhsl(273, 55%, 38%)
HSVhsv(273, 71%, 60%)
CMYKcmyk(32.2%, 71.1%, 0%, 40.4%)
CIE-LABlab(31.70, 46.35, -48.48)
CIE-LCHlch(31.70, 67.08, 313.71°)
OKLaboklab(43.17% 0.0976 -0.1377)
OKLCHoklch(43.17% 0.169 305.3)
XYZxyz(12.1604, 6.9520, 30.4009)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C98 #5D982C
analogous
#312C98 #672C98 #982C93
triadic
#672C98 #98672C #2C9867
tetradic
#672C98 #98312C #5D982C #2C9398
square
#672C98 #98312C #5D982C #2C9398
split-complementary
#672C98 #93982C #2C9831
monochromatic
#271139 #471E69 #672C98 #873BC6 #A46AD4

Accessibility & contrast

On white

8.79
#672C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672C98
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C98#FFFFFF#000000##FFFFFF
##672C981.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#5E455F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672c98;
/* rgb */ color: rgb(103, 44, 152);
/* oklch */ color: oklch(43.2% 0.169 305.3);
Tailwind
colors: {
  custom: {
    50: '#976ab7',
    500: '#672c98',
    950: '#000000',
  },
}
SCSS
$custom: #672c98;
$custom-light: #976ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#672c98",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 272.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.16881,
    "h": 305.3
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#672C98
secondary
#8CBB65
accent
#DE498D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672C98

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

Preview Lab → · Contrast checker → · Palette generator →

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