#672178#672178

#672178 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.150 H 319.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#672178
RGBrgb(103, 33, 120)
HSLhsl(288, 57%, 30%)
HSVhsv(288, 73%, 47%)
CMYKcmyk(14.2%, 72.5%, 0%, 52.9%)
CIE-LABlab(27.65, 44.12, -35.10)
CIE-LCHlch(27.65, 56.38, 321.50°)
OKLaboklab(39.56% 0.1135 -0.0984)
OKLCHoklch(39.56% 0.15 319.1)
XYZxyz(9.5271, 5.3278, 18.2922)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672178 #327821
analogous
#3C2178 #672178 #78215D
triadic
#672178 #786721 #217867
tetradic
#672178 #783C21 #327821 #215D78
square
#672178 #783C21 #327821 #215D78
split-complementary
#672178 #5D7821 #21783C
monochromatic
#150718 #3E1448 #672178 #902EA8 #B247CC

Accessibility & contrast

On white

10.17
#672178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#672178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672178
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672178#FFFFFF#000000##FFFFFF
##6721781.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#67314A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #672178;
/* rgb */ color: rgb(103, 33, 120);
/* oklch */ color: oklch(39.6% 0.150 319.1);
Tailwind
colors: {
  custom: {
    50: '#95639f',
    500: '#672178',
    950: '#000000',
  },
}
SCSS
$custom: #672178;
$custom-light: #95639f;
$custom-dark: #000000;
JSON
{
  "hex": "#672178",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 288.276,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.15017,
    "h": 319.1
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#672178
secondary
#5DAB4A
accent
#E04865
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #672178

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

Preview Lab → · Contrast checker → · Palette generator →

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