#672870#672870

#672870 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 39.9% C 0.132 H 322.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#672870
RGBrgb(103, 40, 112)
HSLhsl(293, 47%, 30%)
HSVhsv(293, 64%, 44%)
CMYKcmyk(8%, 64.3%, 0%, 56.1%)
CIE-LABlab(28.30, 39.24, -28.96)
CIE-LCHlch(28.30, 48.77, 323.57°)
OKLaboklab(39.87% 0.1049 -0.0805)
OKLCHoklch(39.87% 0.132 322.5)
XYZxyz(9.2766, 5.5715, 15.9129)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672870 #317028
analogous
#432870 #672870 #702855
triadic
#672870 #706728 #287067
tetradic
#672870 #704328 #317028 #285570
square
#672870 #704328 #317028 #285570
split-complementary
#672870 #557028 #287043
monochromatic
#150817 #3E1843 #672870 #90389D #B351C1

Accessibility & contrast

On white

9.93
#672870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#672870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672870
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672870#FFFFFF#000000##FFFFFF
##6728701.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#31456E
Tritanopia (blue-blind)
#683348
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672870;
/* rgb */ color: rgb(103, 40, 112);
/* oklch */ color: oklch(39.9% 0.132 322.5);
Tailwind
colors: {
  custom: {
    50: '#956699',
    500: '#672870',
    950: '#000000',
  },
}
SCSS
$custom: #672870;
$custom-light: #956699;
$custom-dark: #000000;
JSON
{
  "hex": "#672870",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 292.5,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39869,
    "c": 0.13223,
    "h": 322.5
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#672870
secondary
#5CA251
accent
#D75162
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672870

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

Preview Lab → · Contrast checker → · Palette generator →

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