#421C58#421C58

#421C58 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.107 H 310.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#421C58
RGBrgb(66, 28, 88)
HSLhsl(278, 52%, 23%)
HSVhsv(278, 68%, 35%)
CMYKcmyk(25%, 68.2%, 0%, 65.5%)
CIE-LABlab(18.77, 29.97, -28.81)
CIE-LCHlch(18.77, 41.57, 316.13°)
OKLaboklab(31.27% 0.0702 -0.0812)
OKLCHoklch(31.27% 0.107 310.9)
XYZxyz(4.4231, 2.6934, 9.5175)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C58 #32581C
analogous
#241C58 #421C58 #581C50
triadic
#421C58 #58421C #1C5842
tetradic
#421C58 #58241C #32581C #1C5058
square
#421C58 #58241C #32581C #1C5058
split-complementary
#421C58 #50581C #1C5824
monochromatic
#110717 #1F0D2A #421C58 #652B86 #883AB5

Accessibility & contrast

On white

13.65
#421C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C58
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C58#FFFFFF#000000##FFFFFF
##421C581.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022C5A
Deuteranopia (green-blind)
#162E57
Tritanopia (blue-blind)
#3F2837
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421c58;
/* rgb */ color: rgb(66, 28, 88);
/* oklch */ color: oklch(31.3% 0.107 310.9);
Tailwind
colors: {
  custom: {
    50: '#795b87',
    500: '#421c58',
    950: '#000000',
  },
}
SCSS
$custom: #421c58;
$custom-light: #795b87;
$custom-dark: #000000;
JSON
{
  "hex": "#421c58",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 278,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31271,
    "c": 0.10734,
    "h": 310.9
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#421C58
secondary
#5E8E42
accent
#DB4D81
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421C58

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

Preview Lab → · Contrast checker → · Palette generator →

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