#421FA8#421FA8

#421FA8 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.198 H 284.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#421FA8
RGBrgb(66, 31, 168)
HSLhsl(255, 69%, 39%)
HSVhsv(255, 82%, 66%)
CMYKcmyk(60.7%, 81.5%, 0%, 34.1%)
CIE-LABlab(26.63, 50.71, -66.66)
CIE-LCHlch(26.63, 83.76, 307.26°)
OKLaboklab(39.06% 0.0484 -0.1922)
OKLCHoklch(39.06% 0.198 284.1)
XYZxyz(9.8025, 4.9647, 37.4799)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421FA8 #85A81F
analogous
#1F41A8 #421FA8 #871FA8
triadic
#421FA8 #A8421F #1FA842
tetradic
#421FA8 #A81F41 #85A81F #1FA887
square
#421FA8 #A81F41 #85A81F #1FA887
split-complementary
#421FA8 #A8871F #41A81F
monochromatic
#190C41 #2E1574 #421FA8 #582CD8 #8160E2

Accessibility & contrast

On white

10.54
#421FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#421FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421FA8
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421FA8#FFFFFF#000000##FFFFFF
##421FA81.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #421fa8;
/* rgb */ color: rgb(66, 31, 168);
/* oklch */ color: oklch(39.1% 0.198 284.1);
Tailwind
colors: {
  custom: {
    50: '#8461c3',
    500: '#421fa8',
    950: '#000000',
  },
}
SCSS
$custom: #421fa8;
$custom-light: #8461c3;
$custom-dark: #000000;
JSON
{
  "hex": "#421fa8",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 255.328,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39058,
    "c": 0.19815,
    "h": 284.1
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#421FA8
secondary
#ABC65D
accent
#EC3CBF
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #421FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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