#672887#672887

#672887 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.156 H 312.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#672887
RGBrgb(103, 40, 135)
HSLhsl(280, 54%, 34%)
HSVhsv(280, 70%, 53%)
CMYKcmyk(23.7%, 70.4%, 0%, 47.1%)
CIE-LABlab(29.79, 44.24, -41.09)
CIE-LCHlch(29.79, 60.38, 317.12°)
OKLaboklab(41.42% 0.1042 -0.116)
OKLCHoklch(41.42% 0.156 312)
XYZxyz(10.7247, 6.1507, 23.5392)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672887 #488728
analogous
#372887 #672887 #872878
triadic
#672887 #876728 #288767
tetradic
#672887 #873728 #488728 #287887
square
#672887 #873728 #488728 #287887
split-complementary
#672887 #788728 #288737
monochromatic
#1F0C29 #431A58 #672887 #8B36B6 #A85BCE

Accessibility & contrast

On white

9.42
#672887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#672887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672887
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672887#FFFFFF#000000##FFFFFF
##6728871.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#633C54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672887;
/* rgb */ color: rgb(103, 40, 135);
/* oklch */ color: oklch(41.4% 0.156 312.0);
Tailwind
colors: {
  custom: {
    50: '#9667aa',
    500: '#672887',
    950: '#000000',
  },
}
SCSS
$custom: #672887;
$custom-light: #9667aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672887",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 279.789,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.15593,
    "h": 312
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#672887
secondary
#76B457
accent
#DE4A7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672887

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

Preview Lab → · Contrast checker → · Palette generator →

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