#672A94#672A94

#672A94 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.167 H 306.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#672A94
RGBrgb(103, 42, 148)
HSLhsl(275, 56%, 37%)
HSVhsv(275, 72%, 58%)
CMYKcmyk(30.4%, 71.6%, 0%, 42%)
CIE-LABlab(31.06, 46.34, -47.06)
CIE-LCHlch(31.06, 66.05, 314.55°)
OKLaboklab(42.62% 0.1004 -0.1335)
OKLCHoklch(42.62% 0.167 306.9)
XYZxyz(11.7656, 6.6777, 28.6803)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A94 #57942A
analogous
#322A94 #672A94 #942A8C
triadic
#672A94 #94672A #2A9467
tetradic
#672A94 #94322A #57942A #2A8C94
square
#672A94 #94322A #57942A #2A8C94
split-complementary
#672A94 #8C942A #2A9432
monochromatic
#250F35 #461C64 #672A94 #8838C4 #A565D3

Accessibility & contrast

On white

8.99
#672A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#672A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A94
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A94#FFFFFF#000000##FFFFFF
##672A941.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#074A92
Tritanopia (blue-blind)
#5F425C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672a94;
/* rgb */ color: rgb(103, 42, 148);
/* oklch */ color: oklch(42.6% 0.167 306.9);
Tailwind
colors: {
  custom: {
    50: '#9769b4',
    500: '#672a94',
    950: '#000000',
  },
}
SCSS
$custom: #672a94;
$custom-light: #9769b4;
$custom-dark: #000000;
JSON
{
  "hex": "#672a94",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 274.528,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.16706,
    "h": 306.9
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#672A94
secondary
#86B960
accent
#DF4989
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672A94

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

Preview Lab → · Contrast checker → · Palette generator →

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