#672187#672187

#672187 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.165 H 312.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#672187
RGBrgb(103, 33, 135)
HSLhsl(281, 61%, 33%)
HSVhsv(281, 76%, 53%)
CMYKcmyk(23.7%, 75.6%, 0%, 47.1%)
CIE-LABlab(28.70, 47.33, -42.85)
CIE-LCHlch(28.70, 63.84, 317.84°)
OKLaboklab(40.64% 0.1118 -0.1211)
OKLCHoklch(40.64% 0.165 312.7)
XYZxyz(10.5098, 5.7209, 23.4676)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672187 #418721
analogous
#342187 #672187 #872174
triadic
#672187 #876721 #218767
tetradic
#672187 #873421 #418721 #217487
square
#672187 #873421 #418721 #217487
split-complementary
#672187 #748721 #218734
monochromatic
#1C0925 #411556 #672187 #8D2DB8 #AA4FD4

Accessibility & contrast

On white

9.79
#672187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#672187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672187
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672187#FFFFFF#000000##FFFFFF
##6721871.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672187;
/* rgb */ color: rgb(103, 33, 135);
/* oklch */ color: oklch(40.6% 0.165 312.7);
Tailwind
colors: {
  custom: {
    50: '#9664ab',
    500: '#672187',
    950: '#000000',
  },
}
SCSS
$custom: #672187;
$custom-light: #9664ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672187",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 281.176,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40638,
    "c": 0.16483,
    "h": 312.7
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#672187
secondary
#6EB74D
accent
#E44476
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672187

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

Preview Lab → · Contrast checker → · Palette generator →

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