#421574#421574

#421574 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.149 H 299.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#421574
RGBrgb(66, 21, 116)
HSLhsl(268, 69%, 27%)
HSVhsv(268, 82%, 45%)
CMYKcmyk(43.1%, 81.9%, 0%, 54.5%)
CIE-LABlab(19.86, 40.74, -45.42)
CIE-LCHlch(19.86, 61.01, 311.89°)
OKLaboklab(32.78% 0.0728 -0.1299)
OKLCHoklch(32.78% 0.149 299.2)
XYZxyz(5.6665, 2.9555, 16.7915)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421574 #477415
analogous
#151874 #421574 #721574
triadic
#421574 #744215 #157442
tetradic
#421574 #741518 #477415 #157472
square
#421574 #741518 #477415 #157472
split-complementary
#421574 #747215 #187415
monochromatic
#0F051A #250C40 #421574 #5F1EA8 #7D2BD9

Accessibility & contrast

On white

13.20
#421574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421574
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421574#FFFFFF#000000##FFFFFF
##4215741.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#362F44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421574;
/* rgb */ color: rgb(66, 21, 116);
/* oklch */ color: oklch(32.8% 0.149 299.2);
Tailwind
colors: {
  custom: {
    50: '#7c589d',
    500: '#421574',
    950: '#000000',
  },
}
SCSS
$custom: #421574;
$custom-light: #7c589d;
$custom-dark: #000000;
JSON
{
  "hex": "#421574",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 268.421,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32775,
    "c": 0.1489,
    "h": 299.2
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#421574
secondary
#75AA3B
accent
#EC3C99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421574

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

Preview Lab → · Contrast checker → · Palette generator →

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