#672C97#672C97

#672C97 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.168 H 305.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#672C97
RGBrgb(103, 44, 151)
HSLhsl(273, 55%, 38%)
HSVhsv(273, 71%, 59%)
CMYKcmyk(31.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(31.62, 46.11, -47.99)
CIE-LCHlch(31.62, 66.55, 313.85°)
OKLaboklab(43.09% 0.0978 -0.1363)
OKLCHoklch(43.09% 0.168 305.7)
XYZxyz(12.0789, 6.9194, 29.9714)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C97 #5C972C
analogous
#312C97 #672C97 #972C91
triadic
#672C97 #97672C #2C9767
tetradic
#672C97 #97312C #5C972C #2C9197
square
#672C97 #97312C #5C972C #2C9197
split-complementary
#672C97 #91972C #2C9731
monochromatic
#261038 #471E68 #672C97 #873AC6 #A46AD4

Accessibility & contrast

On white

8.81
#672C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672C97
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C97#FFFFFF#000000##FFFFFF
##672C971.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#5E445E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #672c97;
/* rgb */ color: rgb(103, 44, 151);
/* oklch */ color: oklch(43.1% 0.168 305.7);
Tailwind
colors: {
  custom: {
    50: '#976ab6',
    500: '#672c97',
    950: '#000000',
  },
}
SCSS
$custom: #672c97;
$custom-light: #976ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#672c97",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 273.084,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.16772,
    "h": 305.7
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#672C97
secondary
#8BBA65
accent
#DE4A8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672C97

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

Preview Lab → · Contrast checker → · Palette generator →

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