#421E62#421E62

#421E62 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.116 H 305.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#421E62
RGBrgb(66, 30, 98)
HSLhsl(272, 53%, 25%)
HSVhsv(272, 69%, 38%)
CMYKcmyk(32.7%, 69.4%, 0%, 61.6%)
CIE-LABlab(19.92, 31.46, -33.61)
CIE-LCHlch(19.92, 46.04, 313.11°)
OKLaboklab(32.33% 0.0669 -0.0953)
OKLCHoklch(32.33% 0.116 305.1)
XYZxyz(4.9152, 2.9687, 11.8670)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E62 #3E621E
analogous
#201E62 #421E62 #621E60
triadic
#421E62 #62421E #1E6242
tetradic
#421E62 #62201E #3E621E #1E6062
square
#421E62 #62201E #3E621E #1E6062
split-complementary
#421E62 #60621E #1E6220
monochromatic
#100717 #221033 #421E62 #622C91 #813BC0

Accessibility & contrast

On white

13.18
#421E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E62
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E62#FFFFFF#000000##FFFFFF
##421E621.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#0B3061
Tritanopia (blue-blind)
#3C2D3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421e62;
/* rgb */ color: rgb(66, 30, 98);
/* oklch */ color: oklch(32.3% 0.116 305.1);
Tailwind
colors: {
  custom: {
    50: '#795c8f',
    500: '#421e62',
    950: '#000000',
  },
}
SCSS
$custom: #421e62;
$custom-light: #795c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#421e62",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 271.765,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32334,
    "c": 0.1164,
    "h": 305.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#421E62
secondary
#6B9745
accent
#DD4B90
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421E62

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

Preview Lab → · Contrast checker → · Palette generator →

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