#421779#421779

#421779 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.152 H 297.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#421779
RGBrgb(66, 23, 121)
HSLhsl(266, 68%, 28%)
HSVhsv(266, 81%, 47%)
CMYKcmyk(45.5%, 81%, 0%, 52.5%)
CIE-LABlab(20.64, 41.19, -47.35)
CIE-LCHlch(20.64, 62.76, 311.02°)
OKLaboklab(33.46% 0.0695 -0.1356)
OKLCHoklch(33.46% 0.152 297.1)
XYZxyz(6.0034, 3.1514, 18.3774)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421779 #4E7917
analogous
#171D79 #421779 #731779
triadic
#421779 #794217 #177942
tetradic
#421779 #79171D #4E7917 #177973
square
#421779 #79171D #4E7917 #177973
split-complementary
#421779 #797317 #1D7917
monochromatic
#0E051A #260D46 #421779 #5E21AC #7B32D8

Accessibility & contrast

On white

12.88
#421779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421779
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421779#FFFFFF#000000##FFFFFF
##4217791.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#333248
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421779;
/* rgb */ color: rgb(66, 23, 121);
/* oklch */ color: oklch(33.5% 0.152 297.1);
Tailwind
colors: {
  custom: {
    50: '#7d5aa1',
    500: '#421779',
    950: '#000000',
  },
}
SCSS
$custom: #421779;
$custom-light: #7d5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#421779",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 266.327,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.15239,
    "h": 297.1
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#421779
secondary
#7DAE3E
accent
#EB3D9F
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421779

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

Preview Lab → · Contrast checker → · Palette generator →

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