#421870#421870

#421870 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.141 H 300.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#421870
RGBrgb(66, 24, 112)
HSLhsl(269, 65%, 27%)
HSVhsv(269, 79%, 44%)
CMYKcmyk(41.1%, 78.6%, 0%, 56.1%)
CIE-LABlab(19.97, 38.33, -42.66)
CIE-LCHlch(19.97, 57.35, 311.93°)
OKLaboklab(32.74% 0.0712 -0.1219)
OKLCHoklch(32.74% 0.141 300.3)
XYZxyz(5.4973, 2.9813, 15.6119)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421870 #467018
analogous
#181A70 #421870 #6E1870
triadic
#421870 #704218 #187042
tetradic
#421870 #70181A #467018 #18706E
square
#421870 #70181A #467018 #18706E
split-complementary
#421870 #706E18 #1A7018
monochromatic
#0F0519 #240D3E #421870 #6023A2 #7D30D3

Accessibility & contrast

On white

13.16
#421870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#421870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421870
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421870#FFFFFF#000000##FFFFFF
##4218701.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#372F43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421870;
/* rgb */ color: rgb(66, 24, 112);
/* oklch */ color: oklch(32.7% 0.141 300.3);
Tailwind
colors: {
  custom: {
    50: '#7b5a9a',
    500: '#421870',
    950: '#000000',
  },
}
SCSS
$custom: #421870;
$custom-light: #7b5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#421870",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 268.636,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.14112,
    "h": 300.3
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#421870
secondary
#74A53E
accent
#E84098
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421870

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

Preview Lab → · Contrast checker → · Palette generator →

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