#672287#672287

#672287 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.164 H 312.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#672287
RGBrgb(103, 34, 135)
HSLhsl(281, 60%, 33%)
HSVhsv(281, 75%, 53%)
CMYKcmyk(23.7%, 74.8%, 0%, 47.1%)
CIE-LABlab(28.84, 46.91, -42.61)
CIE-LCHlch(28.84, 63.38, 317.75°)
OKLaboklab(40.74% 0.1108 -0.1204)
OKLCHoklch(40.74% 0.164 312.6)
XYZxyz(10.5379, 5.7772, 23.4770)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672287 #428722
analogous
#342287 #672287 #872274
triadic
#672287 #876722 #228767
tetradic
#672287 #873422 #428722 #227487
square
#672287 #873422 #428722 #227487
split-complementary
#672287 #748722 #228734
monochromatic
#1C0925 #421656 #672287 #8C2EB8 #AA50D3

Accessibility & contrast

On white

9.74
#672287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#672287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672287
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672287#FFFFFF#000000##FFFFFF
##6722871.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#174585
Tritanopia (blue-blind)
#633852
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672287;
/* rgb */ color: rgb(103, 34, 135);
/* oklch */ color: oklch(40.7% 0.164 312.6);
Tailwind
colors: {
  custom: {
    50: '#9664ab',
    500: '#672287',
    950: '#000000',
  },
}
SCSS
$custom: #672287;
$custom-light: #9664ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672287",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 280.99,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40742,
    "c": 0.16363,
    "h": 312.6
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#672287
secondary
#6FB74E
accent
#E34577
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672287

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

Preview Lab → · Contrast checker → · Palette generator →

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