#421668#421668

#421668 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.134 H 304.0°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#421668
RGBrgb(66, 22, 104)
HSLhsl(272, 65%, 25%)
HSVhsv(272, 79%, 41%)
CMYKcmyk(36.5%, 78.8%, 0%, 59.2%)
CIE-LABlab(18.94, 37.16, -39.14)
CIE-LCHlch(18.94, 53.97, 313.51°)
OKLaboklab(31.79% 0.0751 -0.1115)
OKLCHoklch(31.79% 0.134 304)
XYZxyz(5.0318, 2.7316, 13.3562)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421668 #3C6816
analogous
#191668 #421668 #681665
triadic
#421668 #684216 #166842
tetradic
#421668 #681916 #3C6816 #166568
square
#421668 #681916 #3C6816 #166568
split-complementary
#421668 #656816 #166819
monochromatic
#100519 #220B35 #421668 #62219B #822BCD

Accessibility & contrast

On white

13.58
#421668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421668
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421668#FFFFFF#000000##FFFFFF
##4216681.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#3B2A3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421668;
/* rgb */ color: rgb(66, 22, 104);
/* oklch */ color: oklch(31.8% 0.134 304.0);
Tailwind
colors: {
  custom: {
    50: '#7b5894',
    500: '#421668',
    950: '#000000',
  },
}
SCSS
$custom: #421668;
$custom-light: #7b5894;
$custom-dark: #000000;
JSON
{
  "hex": "#421668",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 272.195,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31787,
    "c": 0.13444,
    "h": 304
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#421668
secondary
#699F3B
accent
#E8408E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421668

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

Preview Lab → · Contrast checker → · Palette generator →

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