#421680#421680

#421680 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.161 H 295.0°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#421680
RGBrgb(66, 22, 128)
HSLhsl(265, 71%, 29%)
HSVhsv(265, 83%, 50%)
CMYKcmyk(48.4%, 82.8%, 0%, 49.8%)
CIE-LABlab(21.17, 43.50, -50.94)
CIE-LCHlch(21.17, 66.99, 310.50°)
OKLaboklab(34.04% 0.068 -0.1461)
OKLCHoklch(34.04% 0.161 295)
XYZxyz(6.4289, 3.2904, 20.7143)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421680 #548016
analogous
#161F80 #421680 #771680
triadic
#421680 #804216 #168042
tetradic
#421680 #80161F #548016 #168077
square
#421680 #80161F #548016 #168077
split-complementary
#421680 #807716 #1F8016
monochromatic
#0D041A #270D4C #421680 #5D1FB4 #7A34DC

Accessibility & contrast

On white

12.66
#421680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#421680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421680
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421680#FFFFFF#000000##FFFFFF
##4216801.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#30354C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421680;
/* rgb */ color: rgb(66, 22, 128);
/* oklch */ color: oklch(34.0% 0.161 295.0);
Tailwind
colors: {
  custom: {
    50: '#7e5aa6',
    500: '#421680',
    950: '#000000',
  },
}
SCSS
$custom: #421680;
$custom-light: #7e5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#421680",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 264.906,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34038,
    "c": 0.16117,
    "h": 295
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#421680
secondary
#83B53D
accent
#ED3AA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #421680

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

Preview Lab → · Contrast checker → · Palette generator →

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