#672387#672387

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

Color values

HEX#672387
RGBrgb(103, 35, 135)
HSLhsl(281, 59%, 33%)
HSVhsv(281, 74%, 53%)
CMYKcmyk(23.7%, 74.1%, 0%, 47.1%)
CIE-LABlab(28.99, 46.49, -42.37)
CIE-LCHlch(28.99, 62.90, 317.65°)
OKLaboklab(40.85% 0.1098 -0.1197)
OKLCHoklch(40.85% 0.162 312.5)
XYZxyz(10.5669, 5.8352, 23.4866)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672387 #438723
analogous
#352387 #672387 #872375
triadic
#672387 #876723 #238767
tetradic
#672387 #873523 #438723 #237587
square
#672387 #873523 #438723 #237587
split-complementary
#672387 #758723 #238735
monochromatic
#1D0A26 #421656 #672387 #8C30B8 #A952D2

Accessibility & contrast

On white

9.69
#672387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#672387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672387
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672387#FFFFFF#000000##FFFFFF
##6723871.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672387;
/* rgb */ color: rgb(103, 35, 135);
/* oklch */ color: oklch(40.8% 0.162 312.5);
Tailwind
colors: {
  custom: {
    50: '#9665ab',
    500: '#672387',
    950: '#000000',
  },
}
SCSS
$custom: #672387;
$custom-light: #9665ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672387",
  "rgb": {
    "r": 103,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 280.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40848,
    "c": 0.1624,
    "h": 312.5
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#672387
secondary
#71B650
accent
#E24678
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672387

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

Preview Lab → · Contrast checker → · Palette generator →

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