#421F94#421F94

#421F94 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.175 H 288.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#421F94
RGBrgb(66, 31, 148)
HSLhsl(258, 65%, 35%)
HSVhsv(258, 79%, 58%)
CMYKcmyk(55.4%, 79.1%, 0%, 42%)
CIE-LABlab(24.56, 45.01, -57.87)
CIE-LCHlch(24.56, 73.31, 307.88°)
OKLaboklab(37% 0.0548 -0.1665)
OKLCHoklch(37% 0.175 288.2)
XYZxyz(8.0805, 4.2759, 28.4108)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F94 #71941F
analogous
#1F3694 #421F94 #7D1F94
triadic
#421F94 #94421F #1F9442
tetradic
#421F94 #941F36 #71941F #1F947D
square
#421F94 #941F36 #71941F #1F947D
split-complementary
#421F94 #947D1F #36941F
monochromatic
#150A2F #2B1461 #421F94 #592AC7 #7B53DB

Accessibility & contrast

On white

11.32
#421F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#421F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F94
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F94#FFFFFF#000000##FFFFFF
##421F941.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#204159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #421f94;
/* rgb */ color: rgb(66, 31, 148);
/* oklch */ color: oklch(37.0% 0.175 288.2);
Tailwind
colors: {
  custom: {
    50: '#805fb5',
    500: '#421f94',
    950: '#000000',
  },
}
SCSS
$custom: #421f94;
$custom-light: #805fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#421f94",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 257.949,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.17526,
    "h": 288.2
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#421F94
secondary
#9DBE51
accent
#E83FB6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421F94

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

Preview Lab → · Contrast checker → · Palette generator →

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