#672D8E#672D8E

#672D8E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.157 H 308.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#672D8E
RGBrgb(103, 45, 142)
HSLhsl(276, 52%, 37%)
HSVhsv(276, 68%, 56%)
CMYKcmyk(27.5%, 68.3%, 0%, 44.3%)
CIE-LABlab(31.15, 43.46, -43.24)
CIE-LCHlch(31.15, 61.31, 315.15°)
OKLaboklab(42.54% 0.0977 -0.1223)
OKLCHoklch(42.54% 0.157 308.6)
XYZxyz(11.4134, 6.7135, 26.2805)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D8E #548E2D
analogous
#362D8E #672D8E #8E2D85
triadic
#672D8E #8E672D #2D8E67
tetradic
#672D8E #8E362D #548E2D #2D858E
square
#672D8E #8E362D #548E2D #2D858E
split-complementary
#672D8E #858E2D #2D8E36
monochromatic
#241031 #451E60 #672D8E #893CBC #A567CF

Accessibility & contrast

On white

8.96
#672D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672D8E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D8E#FFFFFF#000000##FFFFFF
##672D8E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#614259
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672d8e;
/* rgb */ color: rgb(103, 45, 142);
/* oklch */ color: oklch(42.5% 0.157 308.6);
Tailwind
colors: {
  custom: {
    50: '#966ab0',
    500: '#672d8e',
    950: '#000000',
  },
}
SCSS
$custom: #672d8e;
$custom-light: #966ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#672d8e",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 275.876,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.15655,
    "h": 308.6
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#672D8E
secondary
#83B561
accent
#DB4C86
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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