#421A5F#421A5F

#421A5F is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.5% C 0.119 H 307.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#421A5F
RGBrgb(66, 26, 95)
HSLhsl(275, 57%, 24%)
HSVhsv(275, 73%, 37%)
CMYKcmyk(30.5%, 72.6%, 0%, 62.7%)
CIE-LABlab(18.90, 32.85, -33.27)
CIE-LCHlch(18.90, 46.75, 314.64°)
OKLaboklab(31.53% 0.0723 -0.0942)
OKLCHoklch(31.53% 0.119 307.5)
XYZxyz(4.6813, 2.7233, 11.1033)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A5F #375F1A
analogous
#1F1A5F #421A5F #5F1A59
triadic
#421A5F #5F421A #1A5F42
tetradic
#421A5F #5F1F1A #375F1A #1A595F
square
#421A5F #5F1F1A #375F1A #1A595F
split-complementary
#421A5F #595F1A #1A5F1F
monochromatic
#110718 #210D2F #421A5F #63278F #8534BF

Accessibility & contrast

On white

13.60
#421A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A5F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A5F#FFFFFF#000000##FFFFFF
##421A5F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#092E5D
Tritanopia (blue-blind)
#3D293A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421a5f;
/* rgb */ color: rgb(66, 26, 95);
/* oklch */ color: oklch(31.5% 0.119 307.5);
Tailwind
colors: {
  custom: {
    50: '#795a8d',
    500: '#421a5f',
    950: '#000000',
  },
}
SCSS
$custom: #421a5f;
$custom-light: #795a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#421a5f",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 274.783,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.11876,
    "h": 307.5
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#421A5F
secondary
#649540
accent
#E04888
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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