#672587#672587

#672587 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.160 H 312.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#672587
RGBrgb(103, 37, 135)
HSLhsl(280, 57%, 34%)
HSVhsv(280, 73%, 53%)
CMYKcmyk(23.7%, 72.6%, 0%, 47.1%)
CIE-LABlab(29.30, 45.61, -41.87)
CIE-LCHlch(29.30, 61.92, 317.45°)
OKLaboklab(41.07% 0.1076 -0.1182)
OKLCHoklch(41.07% 0.16 312.3)
XYZxyz(10.6275, 5.9563, 23.5068)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672587 #458725
analogous
#362587 #672587 #872576
triadic
#672587 #876725 #258767
tetradic
#672587 #873625 #458725 #257687
square
#672587 #873625 #458725 #257687
split-complementary
#672587 #768725 #258736
monochromatic
#1E0B27 #421857 #672587 #8C32B7 #A956D1

Accessibility & contrast

On white

9.58
#672587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#672587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672587
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672587#FFFFFF#000000##FFFFFF
##6725871.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#633A53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672587;
/* rgb */ color: rgb(103, 37, 135);
/* oklch */ color: oklch(41.1% 0.160 312.3);
Tailwind
colors: {
  custom: {
    50: '#9666ab',
    500: '#672587',
    950: '#000000',
  },
}
SCSS
$custom: #672587;
$custom-light: #9666ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672587",
  "rgb": {
    "r": 103,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 280.408,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.15988,
    "h": 312.3
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#672587
secondary
#73B553
accent
#E04879
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672587

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

Preview Lab → · Contrast checker → · Palette generator →

#672587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva