#672A7D#672A7D

#672A7D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 315.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#672A7D
RGBrgb(103, 42, 125)
HSLhsl(284, 50%, 33%)
HSVhsv(284, 66%, 49%)
CMYKcmyk(17.6%, 66.4%, 0%, 51%)
CIE-LABlab(29.46, 41.04, -35.35)
CIE-LCHlch(29.46, 54.17, 319.25°)
OKLaboklab(40.97% 0.1024 -0.0992)
OKLCHoklch(40.97% 0.143 315.9)
XYZxyz(10.1226, 6.0205, 20.0269)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A7D #407D2A
analogous
#3D2A7D #672A7D #7D2A6A
triadic
#672A7D #7D672A #2A7D67
tetradic
#672A7D #7D3D2A #407D2A #2A6A7D
square
#672A7D #7D3D2A #407D2A #2A6A7D
split-complementary
#672A7D #6A7D2A #2A7D3D
monochromatic
#1C0B21 #411B4F #672A7D #8D39AB #AA5AC8

Accessibility & contrast

On white

9.53
#672A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#672A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A7D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A7D#FFFFFF#000000##FFFFFF
##672A7D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#66394F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672a7d;
/* rgb */ color: rgb(103, 42, 125);
/* oklch */ color: oklch(41.0% 0.143 315.9);
Tailwind
colors: {
  custom: {
    50: '#9568a3',
    500: '#672a7d',
    950: '#000000',
  },
}
SCSS
$custom: #672a7d;
$custom-light: #9568a3;
$custom-dark: #000000;
JSON
{
  "hex": "#672a7d",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 284.096,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40967,
    "c": 0.14257,
    "h": 315.9
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#672A7D
secondary
#6DAD56
accent
#D94F73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #672A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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