#421F93#421F93

#421F93 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.174 H 288.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#421F93
RGBrgb(66, 31, 147)
HSLhsl(258, 65%, 35%)
HSVhsv(258, 79%, 58%)
CMYKcmyk(55.1%, 78.9%, 0%, 42.4%)
CIE-LABlab(24.46, 44.73, -57.41)
CIE-LCHlch(24.46, 72.78, 307.92°)
OKLaboklab(36.9% 0.0551 -0.1651)
OKLCHoklch(36.9% 0.174 288.4)
XYZxyz(8.0017, 4.2444, 27.9957)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F93 #70931F
analogous
#1F3693 #421F93 #7C1F93
triadic
#421F93 #93421F #1F9342
tetradic
#421F93 #931F36 #70931F #1F937C
square
#421F93 #931F36 #70931F #1F937C
split-complementary
#421F93 #937C1F #36931F
monochromatic
#150A2E #2B1460 #421F93 #592AC6 #7B52DA

Accessibility & contrast

On white

11.36
#421F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#421F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F93
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F93#FFFFFF#000000##FFFFFF
##421F931.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#214058
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #421f93;
/* rgb */ color: rgb(66, 31, 147);
/* oklch */ color: oklch(36.9% 0.174 288.4);
Tailwind
colors: {
  custom: {
    50: '#805fb4',
    500: '#421f93',
    950: '#000000',
  },
}
SCSS
$custom: #421f93;
$custom-light: #805fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#421f93",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 258.103,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.1741,
    "h": 288.4
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#421F93
secondary
#9DBE50
accent
#E840B5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421F93

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

Preview Lab → · Contrast checker → · Palette generator →

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