#421F57#421F57

#421F57 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.101 H 310.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#421F57
RGBrgb(66, 31, 87)
HSLhsl(278, 47%, 23%)
HSVhsv(278, 64%, 34%)
CMYKcmyk(24.1%, 64.4%, 0%, 65.9%)
CIE-LABlab(19.33, 27.99, -27.24)
CIE-LCHlch(19.33, 39.06, 315.78°)
OKLaboklab(31.66% 0.066 -0.0766)
OKLCHoklch(31.66% 0.101 310.7)
XYZxyz(4.4567, 2.8264, 9.3258)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F57 #34571F
analogous
#261F57 #421F57 #571F50
triadic
#421F57 #57421F #1F5742
tetradic
#421F57 #57261F #34571F #1F5057
square
#421F57 #57261F #34571F #1F5057
split-complementary
#421F57 #50571F #1F5726
monochromatic
#110817 #200F2A #421F57 #642F84 #863FB1

Accessibility & contrast

On white

13.42
#421F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F57
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F57#FFFFFF#000000##FFFFFF
##421F571.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2D59
Deuteranopia (green-blind)
#1A3056
Tritanopia (blue-blind)
#3F2937
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421f57;
/* rgb */ color: rgb(66, 31, 87);
/* oklch */ color: oklch(31.7% 0.101 310.7);
Tailwind
colors: {
  custom: {
    50: '#785d87',
    500: '#421f57',
    950: '#000000',
  },
}
SCSS
$custom: #421f57;
$custom-light: #785d87;
$custom-dark: #000000;
JSON
{
  "hex": "#421f57",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 277.5,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31658,
    "c": 0.1011,
    "h": 310.7
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#421F57
secondary
#608C46
accent
#D75183
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421F57

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

Preview Lab → · Contrast checker → · Palette generator →

#421F57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva