#421F63#421F63

#421F63 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.6% C 0.116 H 304.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#421F63
RGBrgb(66, 31, 99)
HSLhsl(271, 52%, 25%)
HSVhsv(271, 69%, 39%)
CMYKcmyk(33.3%, 68.7%, 0%, 61.2%)
CIE-LABlab(20.20, 31.17, -33.81)
CIE-LCHlch(20.20, 45.98, 312.67°)
OKLaboklab(32.56% 0.0655 -0.0959)
OKLCHoklch(32.56% 0.116 304.3)
XYZxyz(4.9884, 3.0391, 12.1258)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F63 #40631F
analogous
#201F63 #421F63 #631F62
triadic
#421F63 #63421F #1F6342
tetradic
#421F63 #63201F #40631F #1F6263
square
#421F63 #63201F #40631F #1F6263
split-complementary
#421F63 #62631F #1F6320
monochromatic
#100717 #231034 #421F63 #612E92 #803CC0

Accessibility & contrast

On white

13.06
#421F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F63
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F63#FFFFFF#000000##FFFFFF
##421F631.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#0B3161
Tritanopia (blue-blind)
#3C2E3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421f63;
/* rgb */ color: rgb(66, 31, 99);
/* oklch */ color: oklch(32.6% 0.116 304.3);
Tailwind
colors: {
  custom: {
    50: '#795d90',
    500: '#421f63',
    950: '#000000',
  },
}
SCSS
$custom: #421f63;
$custom-light: #795d90;
$custom-dark: #000000;
JSON
{
  "hex": "#421f63",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 270.882,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.1161,
    "h": 304.3
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#421F63
secondary
#6E9846
accent
#DC4C92
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421F63

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

Preview Lab → · Contrast checker → · Palette generator →

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