#672785#672785

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

Color values

HEX#672785
RGBrgb(103, 39, 133)
HSLhsl(281, 55%, 34%)
HSVhsv(281, 71%, 52%)
CMYKcmyk(22.6%, 70.7%, 0%, 47.8%)
CIE-LABlab(29.48, 44.26, -40.33)
CIE-LCHlch(29.48, 59.88, 317.66°)
OKLaboklab(41.15% 0.1056 -0.1137)
OKLCHoklch(41.15% 0.155 312.9)
XYZxyz(10.5519, 6.0284, 22.7935)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672785 #458527
analogous
#382785 #672785 #852774
triadic
#672785 #856727 #278567
tetradic
#672785 #853827 #458527 #277485
square
#672785 #853827 #458527 #277485
split-complementary
#672785 #748527 #278538
monochromatic
#1E0B26 #421956 #672785 #8C35B4 #A958CE

Accessibility & contrast

On white

9.52
#672785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#672785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672785
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672785#FFFFFF#000000##FFFFFF
##6727851.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#1F4783
Tritanopia (blue-blind)
#643A53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #672785;
/* rgb */ color: rgb(103, 39, 133);
/* oklch */ color: oklch(41.2% 0.155 312.9);
Tailwind
colors: {
  custom: {
    50: '#9667a9',
    500: '#672785',
    950: '#000000',
  },
}
SCSS
$custom: #672785;
$custom-light: #9667a9;
$custom-dark: #000000;
JSON
{
  "hex": "#672785",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 280.851,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.1552,
    "h": 312.9
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#672785
secondary
#73B355
accent
#DE4A79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672785

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

Preview Lab → · Contrast checker → · Palette generator →

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