#421A58#421A58

#421A58 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.0% C 0.111 H 311.3°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#421A58
RGBrgb(66, 26, 88)
HSLhsl(279, 54%, 22%)
HSVhsv(279, 70%, 35%)
CMYKcmyk(25%, 70.5%, 0%, 65.5%)
CIE-LABlab(18.37, 31.07, -29.45)
CIE-LCHlch(18.37, 42.81, 316.53°)
OKLaboklab(30.98% 0.0729 -0.083)
OKLCHoklch(30.98% 0.111 311.3)
XYZxyz(4.3773, 2.6017, 9.5022)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A58 #30581A
analogous
#231A58 #421A58 #581A4F
triadic
#421A58 #58421A #1A5842
tetradic
#421A58 #58231A #30581A #1A4F58
square
#421A58 #58231A #30581A #1A4F58
split-complementary
#421A58 #4F581A #1A5823
monochromatic
#120718 #1F0C29 #421A58 #652887 #8936B6

Accessibility & contrast

On white

13.81
#421A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#421A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A58
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A58#FFFFFF#000000##FFFFFF
##421A581.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#132E57
Tritanopia (blue-blind)
#3F2636
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421a58;
/* rgb */ color: rgb(66, 26, 88);
/* oklch */ color: oklch(31.0% 0.111 311.3);
Tailwind
colors: {
  custom: {
    50: '#795a87',
    500: '#421a58',
    950: '#000000',
  },
}
SCSS
$custom: #421a58;
$custom-light: #795a87;
$custom-dark: #000000;
JSON
{
  "hex": "#421a58",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 278.71,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30983,
    "c": 0.11052,
    "h": 311.3
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#421A58
secondary
#5C8E40
accent
#DE4A7E
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421A58

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

Preview Lab → · Contrast checker → · Palette generator →

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