#672885#672885

#672885 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.154 H 312.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#672885
RGBrgb(103, 40, 133)
HSLhsl(281, 54%, 34%)
HSVhsv(281, 70%, 52%)
CMYKcmyk(22.6%, 69.9%, 0%, 47.8%)
CIE-LABlab(29.65, 43.79, -40.06)
CIE-LCHlch(29.65, 59.35, 317.54°)
OKLaboklab(41.27% 0.1044 -0.113)
OKLCHoklch(41.27% 0.154 312.7)
XYZxyz(10.5852, 6.0949, 22.8046)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672885 #468528
analogous
#392885 #672885 #852875
triadic
#672885 #856728 #288567
tetradic
#672885 #853928 #468528 #287585
square
#672885 #853928 #468528 #287585
split-complementary
#672885 #758528 #288539
monochromatic
#1E0C27 #431A56 #672885 #8B36B4 #A85ACD

Accessibility & contrast

On white

9.46
#672885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#672885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672885
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672885#FFFFFF#000000##FFFFFF
##6728851.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#204783
Tritanopia (blue-blind)
#643B53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672885;
/* rgb */ color: rgb(103, 40, 133);
/* oklch */ color: oklch(41.3% 0.154 312.7);
Tailwind
colors: {
  custom: {
    50: '#9667a9',
    500: '#672885',
    950: '#000000',
  },
}
SCSS
$custom: #672885;
$custom-light: #9667a9;
$custom-dark: #000000;
JSON
{
  "hex": "#672885",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 280.645,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.15384,
    "h": 312.7
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#672885
secondary
#74B356
accent
#DD4B7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672885

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

Preview Lab → · Contrast checker → · Palette generator →

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