#421058#421058

#421058 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.8% C 0.124 H 312.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#421058
RGBrgb(66, 16, 88)
HSLhsl(282, 69%, 20%)
HSVhsv(282, 82%, 35%)
CMYKcmyk(25%, 81.8%, 0%, 65.5%)
CIE-LABlab(16.67, 35.86, -32.20)
CIE-LCHlch(16.67, 48.20, 318.08°)
OKLaboklab(29.77% 0.0847 -0.091)
OKLCHoklch(29.77% 0.124 312.9)
XYZxyz(4.1932, 2.2335, 9.4409)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421058 #265810
analogous
#1E1058 #421058 #58104A
triadic
#421058 #584210 #105842
tetradic
#421058 #581E10 #265810 #104A58
square
#421058 #581E10 #265810 #104A58
split-complementary
#421058 #4A5810 #10581E
monochromatic
#13051A #1B0724 #421058 #69198C #9023C0

Accessibility & contrast

On white

14.52
#421058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#421058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421058
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421058#FFFFFF#000000##FFFFFF
##4210581.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#072A56
Tritanopia (blue-blind)
#402133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #421058;
/* rgb */ color: rgb(66, 16, 88);
/* oklch */ color: oklch(29.8% 0.124 312.9);
Tailwind
colors: {
  custom: {
    50: '#7a5488',
    500: '#421058',
    950: '#000000',
  },
}
SCSS
$custom: #421058;
$custom-light: #7a5488;
$custom-dark: #000000;
JSON
{
  "hex": "#421058",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 281.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29767,
    "c": 0.12438,
    "h": 312.9
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#421058
secondary
#4F9132
accent
#EC3C72
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #421058

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

Preview Lab → · Contrast checker → · Palette generator →

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