#421F75#421F75

#421F75 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.138 H 297.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#421F75
RGBrgb(66, 31, 117)
HSLhsl(264, 58%, 29%)
HSVhsv(264, 74%, 46%)
CMYKcmyk(43.6%, 73.5%, 0%, 54.1%)
CIE-LABlab(21.66, 36.16, -43.12)
CIE-LCHlch(21.66, 56.28, 309.98°)
OKLaboklab(34.07% 0.0629 -0.1233)
OKLCHoklch(34.07% 0.138 297)
XYZxyz(5.9468, 3.4225, 17.1735)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F75 #52751F
analogous
#1F2775 #421F75 #6D1F75
triadic
#421F75 #75421F #1F7542
tetradic
#421F75 #751F27 #52751F #1F756D
square
#421F75 #751F27 #52751F #1F756D
split-complementary
#421F75 #756D1F #27751F
monochromatic
#0E0618 #271245 #421F75 #5D2CA5 #7A42CD

Accessibility & contrast

On white

12.47
#421F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#421F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F75
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F75#FFFFFF#000000##FFFFFF
##421F751.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#353447
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421f75;
/* rgb */ color: rgb(66, 31, 117);
/* oklch */ color: oklch(34.1% 0.138 297.0);
Tailwind
colors: {
  custom: {
    50: '#7b5e9d',
    500: '#421f75',
    950: '#000000',
  },
}
SCSS
$custom: #421f75;
$custom-light: #7b5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#421f75",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 264.419,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34069,
    "c": 0.13836,
    "h": 297
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#421F75
secondary
#81A947
accent
#E146A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421F75

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

Preview Lab → · Contrast checker → · Palette generator →

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