#421868#421868

#421868 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.132 H 303.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#421868
RGBrgb(66, 24, 104)
HSLhsl(272, 63%, 25%)
HSVhsv(272, 77%, 41%)
CMYKcmyk(36.5%, 76.9%, 0%, 59.2%)
CIE-LABlab(19.27, 36.21, -38.60)
CIE-LCHlch(19.27, 52.92, 313.17°)
OKLaboklab(32.02% 0.073 -0.1099)
OKLCHoklch(32.02% 0.132 303.6)
XYZxyz(5.0715, 2.8110, 13.3694)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421868 #3E6818
analogous
#1A1868 #421868 #681866
triadic
#421868 #684218 #186842
tetradic
#421868 #681A18 #3E6818 #186668
square
#421868 #681A18 #3E6818 #186668
split-complementary
#421868 #666818 #18681A
monochromatic
#100619 #220D36 #421868 #62239A #812FCB

Accessibility & contrast

On white

13.44
#421868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421868
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421868#FFFFFF#000000##FFFFFF
##4218681.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#3A2B3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421868;
/* rgb */ color: rgb(66, 24, 104);
/* oklch */ color: oklch(32.0% 0.132 303.6);
Tailwind
colors: {
  custom: {
    50: '#7a5994',
    500: '#421868',
    950: '#000000',
  },
}
SCSS
$custom: #421868;
$custom-light: #7a5994;
$custom-dark: #000000;
JSON
{
  "hex": "#421868",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 271.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32024,
    "c": 0.13196,
    "h": 303.6
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#421868
secondary
#6B9E3E
accent
#E64290
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421868

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

Preview Lab → · Contrast checker → · Palette generator →

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