#672D97#672D97

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

Color values

HEX#672D97
RGBrgb(103, 45, 151)
HSLhsl(273, 54%, 38%)
HSVhsv(273, 70%, 59%)
CMYKcmyk(31.8%, 70.2%, 0%, 40.8%)
CIE-LABlab(31.80, 45.63, -47.71)
CIE-LCHlch(31.80, 66.02, 313.72°)
OKLaboklab(43.22% 0.0967 -0.1355)
OKLCHoklch(43.22% 0.166 305.5)
XYZxyz(12.1166, 6.9948, 29.9840)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D97 #5D972D
analogous
#322D97 #672D97 #972D92
triadic
#672D97 #97672D #2D9767
tetradic
#672D97 #97322D #5D972D #2D9297
square
#672D97 #97322D #5D972D #2D9297
split-complementary
#672D97 #92972D #2D9732
monochromatic
#271139 #471F68 #672D97 #873CC5 #A46BD3

Accessibility & contrast

On white

8.75
#672D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#672D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D97
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D97#FFFFFF#000000##FFFFFF
##672D971.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#5E455E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672d97;
/* rgb */ color: rgb(103, 45, 151);
/* oklch */ color: oklch(43.2% 0.166 305.5);
Tailwind
colors: {
  custom: {
    50: '#976bb6',
    500: '#672d97',
    950: '#000000',
  },
}
SCSS
$custom: #672d97;
$custom-light: #976bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#672d97",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 272.83,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.16642,
    "h": 305.5
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#672D97
secondary
#8CBA66
accent
#DD4A8D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672D97

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

Preview Lab → · Contrast checker → · Palette generator →

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