#672874#672874

#672874 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.1% C 0.136 H 320.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#672874
RGBrgb(103, 40, 116)
HSLhsl(290, 49%, 31%)
HSVhsv(290, 66%, 45%)
CMYKcmyk(11.2%, 65.5%, 0%, 54.5%)
CIE-LABlab(28.54, 40.07, -31.13)
CIE-LCHlch(28.54, 50.74, 322.16°)
OKLaboklab(40.12% 0.105 -0.0868)
OKLCHoklch(40.12% 0.136 320.4)
XYZxyz(9.5043, 5.6626, 17.1120)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672874 #357428
analogous
#412874 #672874 #74285B
triadic
#672874 #746728 #287467
tetradic
#672874 #744128 #357428 #285B74
square
#672874 #744128 #357428 #285B74
split-complementary
#672874 #5B7428 #287441
monochromatic
#160919 #3F1846 #672874 #8F38A2 #B053C4

Accessibility & contrast

On white

9.85
#672874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672874
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672874#FFFFFF#000000##FFFFFF
##6728741.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#2F4672
Tritanopia (blue-blind)
#68344A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672874;
/* rgb */ color: rgb(103, 40, 116);
/* oklch */ color: oklch(40.1% 0.136 320.4);
Tailwind
colors: {
  custom: {
    50: '#95679c',
    500: '#672874',
    950: '#000000',
  },
}
SCSS
$custom: #672874;
$custom-light: #95679c;
$custom-dark: #000000;
JSON
{
  "hex": "#672874",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 289.737,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.13626,
    "h": 320.4
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#672874
secondary
#60A652
accent
#D85067
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672874

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

Preview Lab → · Contrast checker → · Palette generator →

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