#421B70#421B70

#421B70 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.137 H 299.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#421B70
RGBrgb(66, 27, 112)
HSLhsl(268, 61%, 27%)
HSVhsv(268, 76%, 44%)
CMYKcmyk(41.1%, 75.9%, 0%, 56.1%)
CIE-LABlab(20.49, 36.86, -41.82)
CIE-LCHlch(20.49, 55.74, 311.39°)
OKLaboklab(33.1% 0.0681 -0.1194)
OKLCHoklch(33.1% 0.137 299.7)
XYZxyz(5.5626, 3.1119, 15.6337)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B70 #49701B
analogous
#1B1F70 #421B70 #6C1B70
triadic
#421B70 #70421B #1B7042
tetradic
#421B70 #701B1F #49701B #1B706C
square
#421B70 #701B1F #49701B #1B706C
split-complementary
#421B70 #706C1B #1F701B
monochromatic
#0F0619 #250F3F #421B70 #5F27A1 #7C37CF

Accessibility & contrast

On white

12.94
#421B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B70
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B70#FFFFFF#000000##FFFFFF
##421B701.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#373044
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421b70;
/* rgb */ color: rgb(66, 27, 112);
/* oklch */ color: oklch(33.1% 0.137 299.7);
Tailwind
colors: {
  custom: {
    50: '#7b5b9a',
    500: '#421b70',
    950: '#000000',
  },
}
SCSS
$custom: #421b70;
$custom-light: #7b5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#421b70",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 267.529,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.331,
    "c": 0.13747,
    "h": 299.7
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#421B70
secondary
#77A542
accent
#E4449B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421B70

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

Preview Lab → · Contrast checker → · Palette generator →

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