#672F98#672F98

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

Color values

HEX#672F98
RGBrgb(103, 47, 152)
HSLhsl(272, 53%, 39%)
HSVhsv(272, 69%, 60%)
CMYKcmyk(32.2%, 69.1%, 0%, 40.4%)
CIE-LABlab(32.22, 44.89, -47.63)
CIE-LCHlch(32.22, 65.45, 313.30°)
OKLaboklab(43.54% 0.0943 -0.1352)
OKLCHoklch(43.54% 0.165 304.9)
XYZxyz(12.2763, 7.1837, 30.4395)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F98 #60982F
analogous
#332F98 #672F98 #982F95
triadic
#672F98 #98672F #2F9867
tetradic
#672F98 #98332F #60982F #2F9598
square
#672F98 #98332F #60982F #2F9598
split-complementary
#672F98 #95982F #2F9833
monochromatic
#28123B #472169 #672F98 #8640C4 #A46FD2

Accessibility & contrast

On white

8.62
#672F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#672F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F98
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F98#FFFFFF#000000##FFFFFF
##672F981.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#094C96
Tritanopia (blue-blind)
#5E4760
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672f98;
/* rgb */ color: rgb(103, 47, 152);
/* oklch */ color: oklch(43.5% 0.165 304.9);
Tailwind
colors: {
  custom: {
    50: '#976cb7',
    500: '#672f98',
    950: '#000000',
  },
}
SCSS
$custom: #672f98;
$custom-light: #976cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#672f98",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 272,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.16488,
    "h": 304.9
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#672F98
secondary
#8FBA69
accent
#DC4C8F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672F98

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

Preview Lab → · Contrast checker → · Palette generator →

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