#421064#421064

#421064 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.137 H 306.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#421064
RGBrgb(66, 16, 100)
HSLhsl(276, 72%, 23%)
HSVhsv(276, 84%, 39%)
CMYKcmyk(34%, 84%, 0%, 60.8%)
CIE-LABlab(17.69, 38.74, -38.54)
CIE-LCHlch(17.69, 54.64, 315.14°)
OKLaboklab(30.8% 0.0819 -0.1097)
OKLCHoklch(30.8% 0.137 306.7)
XYZxyz(4.7318, 2.4490, 12.2775)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421064 #326410
analogous
#181064 #421064 #64105C
triadic
#421064 #644210 #106442
tetradic
#421064 #641810 #326410 #105C64
square
#421064 #641810 #326410 #105C64
split-complementary
#421064 #5C6410 #106418
monochromatic
#11041A #1F082F #421064 #651899 #8821CE

Accessibility & contrast

On white

14.10
#421064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#421064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421064
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421064#FFFFFF#000000##FFFFFF
##4210641.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#3C263A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421064;
/* rgb */ color: rgb(66, 16, 100);
/* oklch */ color: oklch(30.8% 0.137 306.7);
Tailwind
colors: {
  custom: {
    50: '#7b5591',
    500: '#421064',
    950: '#000000',
  },
}
SCSS
$custom: #421064;
$custom-light: #7b5591;
$custom-dark: #000000;
JSON
{
  "hex": "#421064",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 275.714,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30801,
    "c": 0.13688,
    "h": 306.7
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#421064
secondary
#5E9D33
accent
#EF3983
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421064

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

Preview Lab → · Contrast checker → · Palette generator →

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