#672A97#672A97

#672A97 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.170 H 305.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#672A97
RGBrgb(103, 42, 151)
HSLhsl(274, 56%, 38%)
HSVhsv(274, 72%, 59%)
CMYKcmyk(31.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(31.29, 47.05, -48.54)
CIE-LCHlch(31.29, 67.60, 314.11°)
OKLaboklab(42.85% 0.0999 -0.1379)
OKLCHoklch(42.85% 0.17 305.9)
XYZxyz(12.0062, 6.7740, 29.9472)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A97 #5A972A
analogous
#302A97 #672A97 #972A90
triadic
#672A97 #97672A #2A9767
tetradic
#672A97 #97302A #5A972A #2A9097
square
#672A97 #97302A #5A972A #2A9097
split-complementary
#672A97 #90972A #2A9730
monochromatic
#260F37 #461D67 #672A97 #8837C7 #A467D5

Accessibility & contrast

On white

8.92
#672A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#672A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A97
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A97#FFFFFF#000000##FFFFFF
##672A971.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672a97;
/* rgb */ color: rgb(103, 42, 151);
/* oklch */ color: oklch(42.9% 0.170 305.9);
Tailwind
colors: {
  custom: {
    50: '#9769b6',
    500: '#672a97',
    950: '#000000',
  },
}
SCSS
$custom: #672a97;
$custom-light: #9769b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672a97",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 273.578,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.17027,
    "h": 305.9
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#672A97
secondary
#89BB62
accent
#E0488B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672A97

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

Preview Lab → · Contrast checker → · Palette generator →

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