#672A95#672A95

#672A95 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.168 H 306.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#672A95
RGBrgb(103, 42, 149)
HSLhsl(274, 56%, 37%)
HSVhsv(274, 72%, 58%)
CMYKcmyk(30.9%, 71.8%, 0%, 41.6%)
CIE-LABlab(31.14, 46.58, -47.56)
CIE-LCHlch(31.14, 66.56, 314.40°)
OKLaboklab(42.7% 0.1002 -0.135)
OKLCHoklch(42.7% 0.168 306.6)
XYZxyz(11.8451, 6.7095, 29.0990)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A95 #58952A
analogous
#322A95 #672A95 #952A8D
triadic
#672A95 #95672A #2A9567
tetradic
#672A95 #95322A #58952A #2A8D95
square
#672A95 #95322A #58952A #2A8D95
split-complementary
#672A95 #8D952A #2A9532
monochromatic
#250F36 #461D65 #672A95 #8837C5 #A466D4

Accessibility & contrast

On white

8.97
#672A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672A95
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A95#FFFFFF#000000##FFFFFF
##672A951.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#044A93
Tritanopia (blue-blind)
#5F425C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672a95;
/* rgb */ color: rgb(103, 42, 149);
/* oklch */ color: oklch(42.7% 0.168 306.6);
Tailwind
colors: {
  custom: {
    50: '#9769b5',
    500: '#672a95',
    950: '#000000',
  },
}
SCSS
$custom: #672a95;
$custom-light: #9769b5;
$custom-dark: #000000;
JSON
{
  "hex": "#672a95",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 274.206,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.16813,
    "h": 306.6
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#672A95
secondary
#87BA61
accent
#DF4889
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672A95

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

Preview Lab → · Contrast checker → · Palette generator →

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