#672687#672687

#672687 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.159 H 312.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#672687
RGBrgb(103, 38, 135)
HSLhsl(280, 56%, 34%)
HSVhsv(280, 72%, 53%)
CMYKcmyk(23.7%, 71.9%, 0%, 47.1%)
CIE-LABlab(29.46, 45.16, -41.62)
CIE-LCHlch(29.46, 61.41, 317.34°)
OKLaboklab(41.18% 0.1065 -0.1175)
OKLCHoklch(41.18% 0.159 312.2)
XYZxyz(10.6590, 6.0194, 23.5173)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672687 #468726
analogous
#372687 #672687 #872677
triadic
#672687 #876726 #268767
tetradic
#672687 #873726 #468726 #267787
square
#672687 #873726 #468726 #267787
split-complementary
#672687 #778726 #268737
monochromatic
#1E0B27 #431957 #672687 #8B33B7 #A858D0

Accessibility & contrast

On white

9.53
#672687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#672687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##672687#FFFFFF#000000##FFFFFF
##6726871.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)
#00428A
Deuteranopia (green-blind)
#1B4785
Tritanopia (blue-blind)
#633B54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672687;
/* rgb */ color: rgb(103, 38, 135);
/* oklch */ color: oklch(41.2% 0.159 312.2);
Tailwind
colors: {
  custom: {
    50: '#9666ab',
    500: '#672687',
    950: '#000000',
  },
}
SCSS
$custom: #672687;
$custom-light: #9666ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672687",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 280.206,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.15859,
    "h": 312.2
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#672687
secondary
#74B554
accent
#DF487A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672687

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

Preview Lab → · Contrast checker → · Palette generator →

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