#672A8F#672A8F

#672A8F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.162 H 308.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#672A8F
RGBrgb(103, 42, 143)
HSLhsl(276, 55%, 36%)
HSVhsv(276, 71%, 56%)
CMYKcmyk(28%, 70.6%, 0%, 43.9%)
CIE-LABlab(30.70, 45.15, -44.58)
CIE-LCHlch(30.70, 63.45, 315.36°)
OKLaboklab(42.24% 0.1011 -0.1262)
OKLCHoklch(42.24% 0.162 308.7)
XYZxyz(11.3784, 6.5229, 26.6409)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A8F #528F2A
analogous
#352A8F #672A8F #8F2A85
triadic
#672A8F #8F672A #2A8F67
tetradic
#672A8F #8F352A #528F2A #2A858F
square
#672A8F #8F352A #528F2A #2A858F
split-complementary
#672A8F #858F2A #2A8F35
monochromatic
#230E30 #451C60 #672A8F #8938BE #A562D1

Accessibility & contrast

On white

9.11
#672A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#672A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A8F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A8F#FFFFFF#000000##FFFFFF
##672A8F1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#614059
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672a8f;
/* rgb */ color: rgb(103, 42, 143);
/* oklch */ color: oklch(42.2% 0.162 308.7);
Tailwind
colors: {
  custom: {
    50: '#9669b0',
    500: '#672a8f',
    950: '#000000',
  },
}
SCSS
$custom: #672a8f;
$custom-light: #9669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#672a8f",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 276.238,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.16171,
    "h": 308.7
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#672A8F
secondary
#81B75E
accent
#DE4A85
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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