#672986#672986

#672986 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.153 H 312.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#672986
RGBrgb(103, 41, 134)
HSLhsl(280, 53%, 34%)
HSVhsv(280, 69%, 53%)
CMYKcmyk(23.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(29.89, 43.54, -40.30)
CIE-LCHlch(29.89, 59.33, 317.21°)
OKLaboklab(41.47% 0.1032 -0.1137)
OKLCHoklch(41.47% 0.154 312.2)
XYZxyz(10.6888, 6.1910, 23.1815)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672986 #488629
analogous
#392986 #672986 #862977
triadic
#672986 #866729 #298667
tetradic
#672986 #863929 #488629 #297786
square
#672986 #863929 #488629 #297786
split-complementary
#672986 #778629 #298639
monochromatic
#1F0C28 #431B57 #672986 #8B37B5 #A85CCD

Accessibility & contrast

On white

9.38
#672986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672986
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672986#FFFFFF#000000##FFFFFF
##6729861.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#204884
Tritanopia (blue-blind)
#633C54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672986;
/* rgb */ color: rgb(103, 41, 134);
/* oklch */ color: oklch(41.5% 0.153 312.2);
Tailwind
colors: {
  custom: {
    50: '#9668aa',
    500: '#672986',
    950: '#000000',
  },
}
SCSS
$custom: #672986;
$custom-light: #9668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672986",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 280,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.1535,
    "h": 312.2
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#672986
secondary
#76B358
accent
#DD4B7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672986

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

Preview Lab → · Contrast checker → · Palette generator →

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