#421E58#421E58

#421E58 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.104 H 310.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#421E58
RGBrgb(66, 30, 88)
HSLhsl(277, 49%, 23%)
HSVhsv(277, 66%, 35%)
CMYKcmyk(25%, 65.9%, 0%, 65.5%)
CIE-LABlab(19.19, 28.83, -28.14)
CIE-LCHlch(19.19, 40.29, 315.70°)
OKLaboklab(31.57% 0.0674 -0.0792)
OKLCHoklch(31.57% 0.104 310.4)
XYZxyz(4.4722, 2.7915, 9.5338)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E58 #34581E
analogous
#251E58 #421E58 #581E51
triadic
#421E58 #58421E #1E5842
tetradic
#421E58 #58251E #34581E #1E5158
square
#421E58 #58251E #34581E #1E5158
split-complementary
#421E58 #51581E #1E5825
monochromatic
#110817 #200E2A #421E58 #642E86 #863DB3

Accessibility & contrast

On white

13.48
#421E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E58
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E58#FFFFFF#000000##FFFFFF
##421E581.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5A
Deuteranopia (green-blind)
#182F57
Tritanopia (blue-blind)
#3F2938
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421e58;
/* rgb */ color: rgb(66, 30, 88);
/* oklch */ color: oklch(31.6% 0.104 310.4);
Tailwind
colors: {
  custom: {
    50: '#795c87',
    500: '#421e58',
    950: '#000000',
  },
}
SCSS
$custom: #421e58;
$custom-light: #795c87;
$custom-dark: #000000;
JSON
{
  "hex": "#421e58",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 277.241,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31573,
    "c": 0.10404,
    "h": 310.4
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#421E58
secondary
#608D45
accent
#D94F83
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421E58

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

Preview Lab → · Contrast checker → · Palette generator →

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