#421F64#421F64

#421F64 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.117 H 303.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#421F64
RGBrgb(66, 31, 100)
HSLhsl(270, 53%, 26%)
HSVhsv(270, 69%, 39%)
CMYKcmyk(34%, 69%, 0%, 60.8%)
CIE-LABlab(20.28, 31.44, -34.34)
CIE-LCHlch(20.28, 46.56, 312.47°)
OKLaboklab(32.64% 0.0654 -0.0974)
OKLCHoklch(32.64% 0.117 303.9)
XYZxyz(5.0365, 3.0583, 12.3791)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F64 #41641F
analogous
#1F1F64 #421F64 #641F63
triadic
#421F64 #64421F #1F6442
tetradic
#421F64 #641F1F #41641F #1F6364
square
#421F64 #641F1F #41641F #1F6364
split-complementary
#421F64 #63641F #1F641F
monochromatic
#0F0717 #231135 #421F64 #612D93 #803CC1

Accessibility & contrast

On white

13.03
#421F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F64
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F64#FFFFFF#000000##FFFFFF
##421F641.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#093162
Tritanopia (blue-blind)
#3C2E3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421f64;
/* rgb */ color: rgb(66, 31, 100);
/* oklch */ color: oklch(32.6% 0.117 303.9);
Tailwind
colors: {
  custom: {
    50: '#7a5d91',
    500: '#421f64',
    950: '#000000',
  },
}
SCSS
$custom: #421f64;
$custom-light: #7a5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#421f64",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 270.435,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.11735,
    "h": 303.9
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#421F64
secondary
#6F9846
accent
#DC4C93
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #421F64

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

Preview Lab → · Contrast checker → · Palette generator →

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