#421664#421664

#421664 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.130 H 305.8°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#421664
RGBrgb(66, 22, 100)
HSLhsl(274, 64%, 24%)
HSVhsv(274, 78%, 39%)
CMYKcmyk(34%, 78%, 0%, 60.8%)
CIE-LABlab(18.59, 36.13, -37.07)
CIE-LCHlch(18.59, 51.77, 314.27°)
OKLaboklab(31.44% 0.076 -0.1054)
OKLCHoklch(31.44% 0.13 305.8)
XYZxyz(4.8334, 2.6522, 12.3114)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421664 #386416
analogous
#1B1664 #421664 #64165F
triadic
#421664 #644216 #166442
tetradic
#421664 #641B16 #386416 #165F64
square
#421664 #641B16 #386416 #165F64
split-complementary
#421664 #5F6416 #16641B
monochromatic
#110619 #210B32 #421664 #632196 #842CC8

Accessibility & contrast

On white

13.72
#421664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#421664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421664
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421664#FFFFFF#000000##FFFFFF
##4216641.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421664;
/* rgb */ color: rgb(66, 22, 100);
/* oklch */ color: oklch(31.4% 0.130 305.8);
Tailwind
colors: {
  custom: {
    50: '#7a5891',
    500: '#421664',
    950: '#000000',
  },
}
SCSS
$custom: #421664;
$custom-light: #7a5891;
$custom-dark: #000000;
JSON
{
  "hex": "#421664",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 273.846,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.12996,
    "h": 305.8
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#421664
secondary
#659B3B
accent
#E74189
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030D
muted
#7C787D

Preview Lab

Preview with #421664

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

Preview Lab → · Contrast checker → · Palette generator →

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