#672F9D#672F9D

#672F9D is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.170 H 303.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#672F9D
RGBrgb(103, 47, 157)
HSLhsl(271, 54%, 40%)
HSVhsv(271, 70%, 62%)
CMYKcmyk(34.4%, 70.1%, 0%, 38.4%)
CIE-LABlab(32.59, 46.13, -50.07)
CIE-LCHlch(32.59, 68.08, 312.65°)
OKLaboklab(43.93% 0.0936 -0.1424)
OKLCHoklch(43.93% 0.17 303.3)
XYZxyz(12.6944, 7.3509, 32.6418)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F9D #659D2F
analogous
#302F9D #672F9D #9D2F9C
triadic
#672F9D #9D672F #2F9D67
tetradic
#672F9D #9D302F #659D2F #2F9C9D
square
#672F9D #9D302F #659D2F #2F9C9D
split-complementary
#672F9D #9C9D2F #2F9D30
monochromatic
#29133F #48216E #672F9D #8643C7 #A472D5

Accessibility & contrast

On white

8.50
#672F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#672F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F9D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F9D#FFFFFF#000000##FFFFFF
##672F9D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#5C4862
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #672f9d;
/* rgb */ color: rgb(103, 47, 157);
/* oklch */ color: oklch(43.9% 0.170 303.3);
Tailwind
colors: {
  custom: {
    50: '#976cbb',
    500: '#672f9d',
    950: '#000000',
  },
}
SCSS
$custom: #672f9d;
$custom-light: #976cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#672f9d",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 270.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.43926,
    "c": 0.17043,
    "h": 303.3
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#672F9D
secondary
#93BC6B
accent
#DD4B93
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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