#672A7C#672A7C

#672A7C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.9% C 0.142 H 316.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#672A7C
RGBrgb(103, 42, 124)
HSLhsl(285, 49%, 33%)
HSVhsv(285, 66%, 49%)
CMYKcmyk(16.9%, 66.1%, 0%, 51.4%)
CIE-LABlab(29.40, 40.82, -34.83)
CIE-LCHlch(29.40, 53.66, 319.53°)
OKLaboklab(40.9% 0.1024 -0.0976)
OKLCHoklch(40.9% 0.142 316.4)
XYZxyz(10.0590, 5.9951, 19.6922)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A7C #3F7C2A
analogous
#3E2A7C #672A7C #7C2A68
triadic
#672A7C #7C672A #2A7C67
tetradic
#672A7C #7C3E2A #3F7C2A #2A687C
square
#672A7C #7C3E2A #3F7C2A #2A687C
split-complementary
#672A7C #687C2A #2A7C3E
monochromatic
#1B0B21 #411B4E #672A7C #8D39AA #AB59C7

Accessibility & contrast

On white

9.55
#672A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672A7C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A7C#FFFFFF#000000##FFFFFF
##672A7C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672a7c;
/* rgb */ color: rgb(103, 42, 124);
/* oklch */ color: oklch(40.9% 0.142 316.4);
Tailwind
colors: {
  custom: {
    50: '#9568a2',
    500: '#672a7c',
    950: '#000000',
  },
}
SCSS
$custom: #672a7c;
$custom-light: #9568a2;
$custom-dark: #000000;
JSON
{
  "hex": "#672a7c",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 284.634,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.14151,
    "h": 316.4
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#672A7C
secondary
#6CAD55
accent
#D94F72
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #672A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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