#672F9C#672F9C

#672F9C is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.169 H 303.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#672F9C
RGBrgb(103, 47, 156)
HSLhsl(271, 54%, 40%)
HSVhsv(271, 70%, 61%)
CMYKcmyk(34%, 69.9%, 0%, 38.8%)
CIE-LABlab(32.52, 45.88, -49.59)
CIE-LCHlch(32.52, 67.56, 312.78°)
OKLaboklab(43.85% 0.0938 -0.141)
OKLCHoklch(43.85% 0.169 303.6)
XYZxyz(12.6094, 7.3169, 32.1941)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F9C #649C2F
analogous
#312F9C #672F9C #9C2F9B
triadic
#672F9C #9C672F #2F9C67
tetradic
#672F9C #9C312F #649C2F #2F9B9C
square
#672F9C #9C312F #649C2F #2F9B9C
split-complementary
#672F9C #9B9C2F #2F9C31
monochromatic
#29133E #48216D #672F9C #8642C6 #A471D4

Accessibility & contrast

On white

8.52
#672F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#672F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F9C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F9C#FFFFFF#000000##FFFFFF
##672F9C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#5D4862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672f9c;
/* rgb */ color: rgb(103, 47, 156);
/* oklch */ color: oklch(43.8% 0.169 303.6);
Tailwind
colors: {
  custom: {
    50: '#976cba',
    500: '#672f9c',
    950: '#000000',
  },
}
SCSS
$custom: #672f9c;
$custom-light: #976cba;
$custom-dark: #000000;
JSON
{
  "hex": "#672f9c",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 270.826,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43849,
    "c": 0.16932,
    "h": 303.6
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#672F9C
secondary
#92BC6B
accent
#DD4B92
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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