#421380#421380

#421380 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.164 H 295.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#421380
RGBrgb(66, 19, 128)
HSLhsl(266, 74%, 29%)
HSVhsv(266, 85%, 50%)
CMYKcmyk(48.4%, 85.2%, 0%, 49.8%)
CIE-LABlab(20.76, 44.70, -51.62)
CIE-LCHlch(20.76, 68.28, 310.89°)
OKLaboklab(33.75% 0.0702 -0.1481)
OKLCHoklch(33.75% 0.164 295.4)
XYZxyz(6.3749, 3.1823, 20.6963)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421380 #518013
analogous
#131A80 #421380 #791380
triadic
#421380 #804213 #138042
tetradic
#421380 #80131A #518013 #138079
square
#421380 #80131A #518013 #138079
split-complementary
#421380 #807913 #1A8013
monochromatic
#0E041B #270B4B #421380 #5D1BB5 #7A2DE0

Accessibility & contrast

On white

12.83
#421380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421380
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421380#FFFFFF#000000##FFFFFF
##4213801.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#30334B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421380;
/* rgb */ color: rgb(66, 19, 128);
/* oklch */ color: oklch(33.8% 0.164 295.4);
Tailwind
colors: {
  custom: {
    50: '#7e58a6',
    500: '#421380',
    950: '#000000',
  },
}
SCSS
$custom: #421380;
$custom-light: #7e58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#421380",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 265.872,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.16385,
    "h": 295.4
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#421380
secondary
#80B539
accent
#F137A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #421380

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

Preview Lab → · Contrast checker → · Palette generator →

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