#421895#421895

#421895 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.183 H 288.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#421895
RGBrgb(66, 24, 149)
HSLhsl(260, 72%, 34%)
HSVhsv(260, 84%, 58%)
CMYKcmyk(55.7%, 83.9%, 0%, 41.6%)
CIE-LABlab(23.61, 48.37, -60.06)
CIE-LCHlch(23.61, 77.11, 308.85°)
OKLaboklab(36.37% 0.0591 -0.1728)
OKLCHoklch(36.37% 0.183 288.9)
XYZxyz(7.9966, 3.9810, 28.7750)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421895 #6B9518
analogous
#182D95 #421895 #811895
triadic
#421895 #954218 #189542
tetradic
#421895 #95182D #6B9518 #189581
square
#421895 #95182D #6B9518 #189581
split-complementary
#421895 #958118 #2D9518
monochromatic
#13072C #2B1060 #421895 #5920CA #7A46E1

Accessibility & contrast

On white

11.69
#421895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#421895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421895
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421895#FFFFFF#000000##FFFFFF
##4218951.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#1F3E58
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421895;
/* rgb */ color: rgb(66, 24, 149);
/* oklch */ color: oklch(36.4% 0.183 288.9);
Tailwind
colors: {
  custom: {
    50: '#815cb5',
    500: '#421895',
    950: '#000000',
  },
}
SCSS
$custom: #421895;
$custom-light: #815cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#421895",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 260.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36371,
    "c": 0.18263,
    "h": 288.9
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#421895
secondary
#99C246
accent
#EF39B2
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421895

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

Preview Lab → · Contrast checker → · Palette generator →

#421895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva