#421672#421672

#421672 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.146 H 299.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#421672
RGBrgb(66, 22, 114)
HSLhsl(269, 68%, 27%)
HSVhsv(269, 81%, 45%)
CMYKcmyk(42.1%, 80.7%, 0%, 55.3%)
CIE-LABlab(19.83, 39.77, -44.18)
CIE-LCHlch(19.83, 59.45, 311.99°)
OKLaboklab(32.69% 0.0725 -0.1263)
OKLCHoklch(32.69% 0.146 299.9)
XYZxyz(5.5702, 2.9469, 16.1917)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421672 #467216
analogous
#161872 #421672 #701672
triadic
#421672 #724216 #167242
tetradic
#421672 #721618 #467216 #167270
square
#421672 #721618 #467216 #167270
split-complementary
#421672 #727016 #187216
monochromatic
#0F051A #240C3F #421672 #6020A5 #7E2CD6

Accessibility & contrast

On white

13.21
#421672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421672
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421672#FFFFFF#000000##FFFFFF
##4216721.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#372F43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421672;
/* rgb */ color: rgb(66, 22, 114);
/* oklch */ color: oklch(32.7% 0.146 299.9);
Tailwind
colors: {
  custom: {
    50: '#7c599b',
    500: '#421672',
    950: '#000000',
  },
}
SCSS
$custom: #421672;
$custom-light: #7c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#421672",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 268.696,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32693,
    "c": 0.14562,
    "h": 299.9
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#421672
secondary
#74A83C
accent
#EB3D98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421672

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

Preview Lab → · Contrast checker → · Palette generator →

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