#672A77#672A77

#672A77 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.6% C 0.136 H 318.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#672A77
RGBrgb(103, 42, 119)
HSLhsl(288, 48%, 32%)
HSVhsv(288, 65%, 47%)
CMYKcmyk(13.4%, 64.7%, 0%, 53.3%)
CIE-LABlab(29.09, 39.73, -32.17)
CIE-LCHlch(29.09, 51.12, 321.00°)
OKLaboklab(40.57% 0.1025 -0.0899)
OKLCHoklch(40.57% 0.136 318.7)
XYZxyz(9.7508, 5.8718, 18.0689)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A77 #3A772A
analogous
#412A77 #672A77 #772A61
triadic
#672A77 #77672A #2A7767
tetradic
#672A77 #77412A #3A772A #2A6177
square
#672A77 #77412A #3A772A #2A6177
split-complementary
#672A77 #61772A #2A7741
monochromatic
#190A1D #401A4A #672A77 #8E3AA4 #AD58C4

Accessibility & contrast

On white

9.66
#672A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#672A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A77
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A77#FFFFFF#000000##FFFFFF
##672A771.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144079
Deuteranopia (green-blind)
#2E4775
Tritanopia (blue-blind)
#67374C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672a77;
/* rgb */ color: rgb(103, 42, 119);
/* oklch */ color: oklch(40.6% 0.136 318.7);
Tailwind
colors: {
  custom: {
    50: '#95689f',
    500: '#672a77',
    950: '#000000',
  },
}
SCSS
$custom: #672a77;
$custom-light: #95689f;
$custom-dark: #000000;
JSON
{
  "hex": "#672a77",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 287.532,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.13628,
    "h": 318.7
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#672A77
secondary
#66A954
accent
#D7506C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672A77

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

Preview Lab → · Contrast checker → · Palette generator →

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