#421B8F#421B8F

#421B8F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.173 H 290.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#421B8F
RGBrgb(66, 27, 143)
HSLhsl(260, 68%, 33%)
HSVhsv(260, 81%, 56%)
CMYKcmyk(53.8%, 81.1%, 0%, 43.9%)
CIE-LABlab(23.42, 45.44, -56.65)
CIE-LCHlch(23.42, 72.62, 308.74°)
OKLaboklab(36.06% 0.0593 -0.1629)
OKLCHoklch(36.06% 0.173 290)
XYZxyz(7.5952, 3.9249, 26.3387)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B8F #688F1B
analogous
#1B2E8F #421B8F #7C1B8F
triadic
#421B8F #8F421B #1B8F42
tetradic
#421B8F #8F1B2E #688F1B #1B8F7C
square
#421B8F #8F1B2E #688F1B #1B8F7C
split-complementary
#421B8F #8F7C1B #2E8F1B
monochromatic
#120828 #2A115C #421B8F #5A25C2 #7A48DC

Accessibility & contrast

On white

11.76
#421B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#421B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B8F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B8F#FFFFFF#000000##FFFFFF
##421B8F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#253D55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421b8f;
/* rgb */ color: rgb(66, 27, 143);
/* oklch */ color: oklch(36.1% 0.173 290.0);
Tailwind
colors: {
  custom: {
    50: '#805db1',
    500: '#421b8f',
    950: '#000000',
  },
}
SCSS
$custom: #421b8f;
$custom-light: #805db1;
$custom-dark: #000000;
JSON
{
  "hex": "#421b8f",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 260.172,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36055,
    "c": 0.17333,
    "h": 290
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#421B8F
secondary
#96BE48
accent
#EB3DB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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