#421665#421665

#421665 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.131 H 305.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#421665
RGBrgb(66, 22, 101)
HSLhsl(273, 64%, 24%)
HSVhsv(273, 78%, 40%)
CMYKcmyk(34.7%, 78.2%, 0%, 60.4%)
CIE-LABlab(18.68, 36.39, -37.59)
CIE-LCHlch(18.68, 52.32, 314.07°)
OKLaboklab(31.53% 0.0758 -0.1069)
OKLCHoklch(31.53% 0.131 305.3)
XYZxyz(4.8821, 2.6717, 12.5679)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421665 #396516
analogous
#1B1665 #421665 #651661
triadic
#421665 #654216 #166542
tetradic
#421665 #651B16 #396516 #166165
square
#421665 #651B16 #396516 #166165
split-complementary
#421665 #616516 #16651B
monochromatic
#100519 #210B33 #421665 #632197 #842CCA

Accessibility & contrast

On white

13.69
#421665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421665
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421665#FFFFFF#000000##FFFFFF
##4216651.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421665;
/* rgb */ color: rgb(66, 22, 101);
/* oklch */ color: oklch(31.5% 0.131 305.3);
Tailwind
colors: {
  custom: {
    50: '#7a5891',
    500: '#421665',
    950: '#000000',
  },
}
SCSS
$custom: #421665;
$custom-light: #7a5891;
$custom-dark: #000000;
JSON
{
  "hex": "#421665",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 273.418,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31525,
    "c": 0.13108,
    "h": 305.3
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#421665
secondary
#669C3B
accent
#E7418A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421665

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

Preview Lab → · Contrast checker → · Palette generator →

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