#421074#421074

#421074 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.154 H 299.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#421074
RGBrgb(66, 16, 116)
HSLhsl(270, 76%, 26%)
HSVhsv(270, 86%, 45%)
CMYKcmyk(43.1%, 86.2%, 0%, 54.5%)
CIE-LABlab(19.18, 42.73, -46.54)
CIE-LCHlch(19.18, 63.18, 312.56°)
OKLaboklab(32.3% 0.0767 -0.1331)
OKLCHoklch(32.3% 0.154 299.9)
XYZxyz(5.5836, 2.7897, 16.7639)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421074 #427410
analogous
#101074 #421074 #741074
triadic
#421074 #744210 #107442
tetradic
#421074 #741010 #427410 #107474
square
#421074 #741010 #427410 #107474
split-complementary
#421074 #747410 #107410
monochromatic
#0F041B #23093E #421074 #6117AA #7F1FE0

Accessibility & contrast

On white

13.48
#421074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421074
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421074#FFFFFF#000000##FFFFFF
##4210741.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#362D43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421074;
/* rgb */ color: rgb(66, 16, 116);
/* oklch */ color: oklch(32.3% 0.154 299.9);
Tailwind
colors: {
  custom: {
    50: '#7c569d',
    500: '#421074',
    950: '#000000',
  },
}
SCSS
$custom: #421074;
$custom-light: #7c569d;
$custom-dark: #000000;
JSON
{
  "hex": "#421074",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 270,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.15365,
    "h": 299.9
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#421074
secondary
#70AB35
accent
#F23594
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421074

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

Preview Lab → · Contrast checker → · Palette generator →

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