#672E8A#672E8A

#672E8A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.151 H 310.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#672E8A
RGBrgb(103, 46, 138)
HSLhsl(277, 50%, 36%)
HSVhsv(277, 67%, 54%)
CMYKcmyk(25.4%, 66.7%, 0%, 45.9%)
CIE-LABlab(31.05, 42.01, -40.92)
CIE-LCHlch(31.05, 58.65, 315.75°)
OKLaboklab(42.39% 0.0968 -0.1155)
OKLCHoklch(42.39% 0.151 310)
XYZxyz(11.1571, 6.6728, 24.7401)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E8A #518A2E
analogous
#392E8A #672E8A #8A2E7F
triadic
#672E8A #8A672E #2E8A67
tetradic
#672E8A #8A392E #518A2E #2E7F8A
square
#672E8A #8A392E #518A2E #2E7F8A
split-complementary
#672E8A #7F8A2E #2E8A39
monochromatic
#220F2E #451F5C #672E8A #893DB8 #A566CC

Accessibility & contrast

On white

9.00
#672E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#672E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E8A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E8A#FFFFFF#000000##FFFFFF
##672E8A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#624158
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672e8a;
/* rgb */ color: rgb(103, 46, 138);
/* oklch */ color: oklch(42.4% 0.151 310.0);
Tailwind
colors: {
  custom: {
    50: '#966bad',
    500: '#672e8a',
    950: '#000000',
  },
}
SCSS
$custom: #672e8a;
$custom-light: #966bad;
$custom-dark: #000000;
JSON
{
  "hex": "#672e8a",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 277.174,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.15073,
    "h": 310
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#672E8A
secondary
#80B361
accent
#DA4E83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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