#672164#672164

#672164 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.3% C 0.131 H 329.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#672164
RGBrgb(103, 33, 100)
HSLhsl(303, 51%, 27%)
HSVhsv(303, 68%, 40%)
CMYKcmyk(0%, 68%, 2.9%, 59.6%)
CIE-LABlab(26.42, 40.18, -24.20)
CIE-LCHlch(26.42, 46.90, 328.94°)
OKLaboklab(38.28% 0.1133 -0.0666)
OKLCHoklch(38.28% 0.131 329.5)
XYZxyz(8.4376, 4.8920, 12.5540)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672164 #216724
analogous
#472167 #672164 #672141
triadic
#672164 #646721 #216467
tetradic
#672164 #674721 #216724 #214167
square
#672164 #674721 #216724 #214167
split-complementary
#672164 #416721 #216747
monochromatic
#170717 #391237 #672164 #953091 #C240BC

Accessibility & contrast

On white

10.62
#672164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#672164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672164
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672164#FFFFFF#000000##FFFFFF
##6721641.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3866
Deuteranopia (green-blind)
#344262
Tritanopia (blue-blind)
#6B293F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #672164;
/* rgb */ color: rgb(103, 33, 100);
/* oklch */ color: oklch(38.3% 0.131 329.5);
Tailwind
colors: {
  custom: {
    50: '#956290',
    500: '#672164',
    950: '#000000',
  },
}
SCSS
$custom: #672164;
$custom-light: #956290;
$custom-dark: #000000;
JSON
{
  "hex": "#672164",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 302.571,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.13148,
    "h": 329.5
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#672164
secondary
#499B4C
accent
#DB534D
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #672164

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

Preview Lab → · Contrast checker → · Palette generator →

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