#672F97#672F97

#672F97 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.164 H 305.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#672F97
RGBrgb(103, 47, 151)
HSLhsl(272, 53%, 39%)
HSVhsv(272, 69%, 59%)
CMYKcmyk(31.8%, 68.9%, 0%, 40.8%)
CIE-LABlab(32.15, 44.65, -47.14)
CIE-LCHlch(32.15, 64.93, 313.44°)
OKLaboklab(43.47% 0.0944 -0.1338)
OKLCHoklch(43.47% 0.164 305.2)
XYZxyz(12.1947, 7.1510, 30.0100)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F97 #5F972F
analogous
#332F97 #672F97 #972F93
triadic
#672F97 #97672F #2F9767
tetradic
#672F97 #97332F #5F972F #2F9397
square
#672F97 #97332F #5F972F #2F9397
split-complementary
#672F97 #93972F #2F9733
monochromatic
#27123A #472068 #672F97 #8740C3 #A46ED2

Accessibility & contrast

On white

8.64
#672F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#672F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F97
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F97#FFFFFF#000000##FFFFFF
##672F971.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#5E465F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672f97;
/* rgb */ color: rgb(103, 47, 151);
/* oklch */ color: oklch(43.5% 0.164 305.2);
Tailwind
colors: {
  custom: {
    50: '#966cb6',
    500: '#672f97',
    950: '#000000',
  },
}
SCSS
$custom: #672f97;
$custom-light: #966cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#672f97",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 272.308,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.16376,
    "h": 305.2
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#672F97
secondary
#8EB968
accent
#DC4C8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672F97

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

Preview Lab → · Contrast checker → · Palette generator →

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