#421B75#421B75

#421B75 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.143 H 297.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#421B75
RGBrgb(66, 27, 117)
HSLhsl(266, 63%, 28%)
HSVhsv(266, 77%, 46%)
CMYKcmyk(43.6%, 76.9%, 0%, 54.1%)
CIE-LABlab(20.93, 38.22, -44.32)
CIE-LCHlch(20.93, 58.53, 310.78°)
OKLaboklab(33.55% 0.067 -0.1267)
OKLCHoklch(33.55% 0.143 297.8)
XYZxyz(5.8488, 3.2264, 17.1408)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B75 #4E751B
analogous
#1B2175 #421B75 #6F1B75
triadic
#421B75 #75421B #1B7542
tetradic
#421B75 #751B21 #4E751B #1B756F
square
#421B75 #751B21 #4E751B #1B756F
split-complementary
#421B75 #756F1B #21751B
monochromatic
#0E0619 #261043 #421B75 #5E26A7 #7B39D1

Accessibility & contrast

On white

12.76
#421B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B75
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B75#FFFFFF#000000##FFFFFF
##421B751.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#353246
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421b75;
/* rgb */ color: rgb(66, 27, 117);
/* oklch */ color: oklch(33.6% 0.143 297.8);
Tailwind
colors: {
  custom: {
    50: '#7c5c9e',
    500: '#421b75',
    950: '#000000',
  },
}
SCSS
$custom: #421b75;
$custom-light: #7c5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421b75",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 266,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3355,
    "c": 0.14334,
    "h": 297.8
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#421B75
secondary
#7DA942
accent
#E6429F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421B75

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

Preview Lab → · Contrast checker → · Palette generator →

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