#672386#672386

#672386 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.161 H 312.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#672386
RGBrgb(103, 35, 134)
HSLhsl(281, 59%, 33%)
HSVhsv(281, 74%, 53%)
CMYKcmyk(23.1%, 73.9%, 0%, 47.5%)
CIE-LABlab(28.92, 46.27, -41.86)
CIE-LCHlch(28.92, 62.39, 317.86°)
OKLaboklab(40.77% 0.1099 -0.1182)
OKLCHoklch(40.77% 0.161 312.9)
XYZxyz(10.4969, 5.8072, 23.1176)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672386 #428623
analogous
#352386 #672386 #862373
triadic
#672386 #866723 #238667
tetradic
#672386 #863523 #428623 #237386
square
#672386 #863523 #428623 #237386
split-complementary
#672386 #738623 #238635
monochromatic
#1C0A25 #421655 #672386 #8C30B7 #AA52D2

Accessibility & contrast

On white

9.72
#672386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672386
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672386#FFFFFF#000000##FFFFFF
##6723861.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#194684
Tritanopia (blue-blind)
#643852
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672386;
/* rgb */ color: rgb(103, 35, 134);
/* oklch */ color: oklch(40.8% 0.161 312.9);
Tailwind
colors: {
  custom: {
    50: '#9665aa',
    500: '#672386',
    950: '#000000',
  },
}
SCSS
$custom: #672386;
$custom-light: #9665aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672386",
  "rgb": {
    "r": 103,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 281.212,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.1614,
    "h": 312.9
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#672386
secondary
#6FB54F
accent
#E24677
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672386

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

Preview Lab → · Contrast checker → · Palette generator →

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