#672087#672087

#672087 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.166 H 312.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#672087
RGBrgb(103, 32, 135)
HSLhsl(281, 62%, 33%)
HSVhsv(281, 76%, 53%)
CMYKcmyk(23.7%, 76.3%, 0%, 47.1%)
CIE-LABlab(28.55, 47.73, -43.08)
CIE-LCHlch(28.55, 64.30, 317.93°)
OKLaboklab(40.54% 0.1128 -0.1218)
OKLCHoklch(40.54% 0.166 312.8)
XYZxyz(10.4824, 5.6662, 23.4585)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672087 #408720
analogous
#332087 #672087 #872074
triadic
#672087 #876720 #208767
tetradic
#672087 #873320 #408720 #207487
square
#672087 #873320 #408720 #207487
split-complementary
#672087 #748720 #208733
monochromatic
#1C0924 #411456 #672087 #8D2CB8 #AA4DD5

Accessibility & contrast

On white

9.84
#672087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#672087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672087
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672087#FFFFFF#000000##FFFFFF
##6720871.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#633752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672087;
/* rgb */ color: rgb(103, 32, 135);
/* oklch */ color: oklch(40.5% 0.166 312.8);
Tailwind
colors: {
  custom: {
    50: '#9663ab',
    500: '#672087',
    950: '#000000',
  },
}
SCSS
$custom: #672087;
$custom-light: #9663ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672087",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 281.359,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.166,
    "h": 312.8
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#672087
secondary
#6DB84B
accent
#E54375
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672087

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

Preview Lab → · Contrast checker → · Palette generator →

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