#672A8A#672A8A

#672A8A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.156 H 310.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#672A8A
RGBrgb(103, 42, 138)
HSLhsl(278, 53%, 35%)
HSVhsv(278, 70%, 54%)
CMYKcmyk(25.4%, 69.6%, 0%, 45.9%)
CIE-LABlab(30.34, 43.99, -42.07)
CIE-LCHlch(30.34, 60.86, 316.28°)
OKLaboklab(41.88% 0.1016 -0.1188)
OKLCHoklch(41.88% 0.156 310.5)
XYZxyz(11.0080, 6.3747, 24.6904)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A8A #4D8A2A
analogous
#372A8A #672A8A #8A2A7D
triadic
#672A8A #8A672A #2A8A67
tetradic
#672A8A #8A372A #4D8A2A #2A7D8A
square
#672A8A #8A372A #4D8A2A #2A7D8A
split-complementary
#672A8A #7D8A2A #2A8A37
monochromatic
#210D2C #441C5B #672A8A #8A38B9 #A660CF

Accessibility & contrast

On white

9.23
#672A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#672A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A8A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A8A#FFFFFF#000000##FFFFFF
##672A8A1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#1C4888
Tritanopia (blue-blind)
#623E56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672a8a;
/* rgb */ color: rgb(103, 42, 138);
/* oklch */ color: oklch(41.9% 0.156 310.5);
Tailwind
colors: {
  custom: {
    50: '#9668ad',
    500: '#672a8a',
    950: '#000000',
  },
}
SCSS
$custom: #672a8a;
$custom-light: #9668ad;
$custom-dark: #000000;
JSON
{
  "hex": "#672a8a",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 278.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.15638,
    "h": 310.5
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#672A8A
secondary
#7CB45B
accent
#DD4B80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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