#672F9F#672F9F

#672F9F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.173 H 302.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#672F9F
RGBrgb(103, 47, 159)
HSLhsl(270, 54%, 40%)
HSVhsv(270, 70%, 62%)
CMYKcmyk(35.2%, 70.4%, 0%, 37.6%)
CIE-LABlab(32.74, 46.63, -51.04)
CIE-LCHlch(32.74, 69.13, 312.41°)
OKLaboklab(44.08% 0.0933 -0.1452)
OKLCHoklch(44.08% 0.173 302.7)
XYZxyz(12.8666, 7.4198, 33.5485)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F9F #679F2F
analogous
#2F2F9F #672F9F #9F2F9F
triadic
#672F9F #9F672F #2F9F67
tetradic
#672F9F #9F2F2F #679F2F #2F9F9F
square
#672F9F #9F2F2F #679F2F #2F9F9F
split-complementary
#672F9F #9F9F2F #2F9F2F
monochromatic
#2A1341 #482170 #672F9F #8644C8 #A473D6

Accessibility & contrast

On white

8.45
#672F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#672F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F9F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F9F#FFFFFF#000000##FFFFFF
##672F9F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#5C4963
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #672f9f;
/* rgb */ color: rgb(103, 47, 159);
/* oklch */ color: oklch(44.1% 0.173 302.7);
Tailwind
colors: {
  custom: {
    50: '#976cbc',
    500: '#672f9f',
    950: '#000000',
  },
}
SCSS
$custom: #672f9f;
$custom-light: #976cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#672f9f",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 270,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44082,
    "c": 0.17265,
    "h": 302.7
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#672F9F
secondary
#95BD6D
accent
#DE4A94
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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