#421B6F#421B6F

#421B6F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.136 H 300.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#421B6F
RGBrgb(66, 27, 111)
HSLhsl(268, 61%, 27%)
HSVhsv(268, 76%, 44%)
CMYKcmyk(40.5%, 75.7%, 0%, 56.5%)
CIE-LABlab(20.40, 36.58, -41.31)
CIE-LCHlch(20.40, 55.18, 311.52°)
OKLaboklab(33.01% 0.0683 -0.1179)
OKLCHoklch(33.01% 0.136 300.1)
XYZxyz(5.5072, 3.0898, 15.3421)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B6F #486F1B
analogous
#1B1E6F #421B6F #6C1B6F
triadic
#421B6F #6F421B #1B6F42
tetradic
#421B6F #6F1B1E #486F1B #1B6F6C
square
#421B6F #6F1B1E #486F1B #1B6F6C
split-complementary
#421B6F #6F6C1B #1E6F1B
monochromatic
#0F0619 #250F3E #421B6F #5F27A0 #7D36CE

Accessibility & contrast

On white

12.98
#421B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B6F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B6F#FFFFFF#000000##FFFFFF
##421B6F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#383043
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421b6f;
/* rgb */ color: rgb(66, 27, 111);
/* oklch */ color: oklch(33.0% 0.136 300.1);
Tailwind
colors: {
  custom: {
    50: '#7b5b99',
    500: '#421b6f',
    950: '#000000',
  },
}
SCSS
$custom: #421b6f;
$custom-light: #7b5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#421b6f",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 267.857,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.13629,
    "h": 300.1
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#421B6F
secondary
#76A442
accent
#E4449A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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