#421564#421564

#421564 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.131 H 306.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#421564
RGBrgb(66, 21, 100)
HSLhsl(274, 65%, 24%)
HSVhsv(274, 79%, 39%)
CMYKcmyk(34%, 79%, 0%, 60.8%)
CIE-LABlab(18.43, 36.60, -37.33)
CIE-LCHlch(18.43, 52.28, 314.43°)
OKLaboklab(31.32% 0.0771 -0.1062)
OKLCHoklch(31.32% 0.131 306)
XYZxyz(4.8147, 2.6147, 12.3052)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421564 #376415
analogous
#1A1564 #421564 #64155E
triadic
#421564 #644215 #156442
tetradic
#421564 #641A15 #376415 #155E64
square
#421564 #641A15 #376415 #155E64
split-complementary
#421564 #5E6415 #15641A
monochromatic
#110519 #210A31 #421564 #632097 #852AC9

Accessibility & contrast

On white

13.79
#421564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#421564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421564
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421564#FFFFFF#000000##FFFFFF
##4215641.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#3C283B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421564;
/* rgb */ color: rgb(66, 21, 100);
/* oklch */ color: oklch(31.3% 0.131 306.0);
Tailwind
colors: {
  custom: {
    50: '#7a5891',
    500: '#421564',
    950: '#000000',
  },
}
SCSS
$custom: #421564;
$custom-light: #7a5891;
$custom-dark: #000000;
JSON
{
  "hex": "#421564",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 274.177,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31323,
    "c": 0.1312,
    "h": 306
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#421564
secondary
#649B3A
accent
#E84088
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030D
muted
#7C787D

Preview Lab

Preview with #421564

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

Preview Lab → · Contrast checker → · Palette generator →

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