#421985#421985

#421985 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.164 H 293.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#421985
RGBrgb(66, 25, 133)
HSLhsl(263, 68%, 31%)
HSVhsv(263, 81%, 52%)
CMYKcmyk(50.4%, 81.2%, 0%, 47.8%)
CIE-LABlab(22.11, 43.56, -52.55)
CIE-LCHlch(22.11, 68.26, 309.66°)
OKLaboklab(34.84% 0.0641 -0.1509)
OKLCHoklch(34.84% 0.164 293)
XYZxyz(6.8269, 3.5467, 22.5106)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421985 #5C8519
analogous
#192685 #421985 #781985
triadic
#421985 #854219 #198542
tetradic
#421985 #851926 #5C8519 #198578
square
#421985 #851926 #5C8519 #198578
split-complementary
#421985 #857819 #268519
monochromatic
#0F061E #280F51 #421985 #5C23B9 #793EDB

Accessibility & contrast

On white

12.29
#421985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#421985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421985
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421985#FFFFFF#000000##FFFFFF
##4219851.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#2D384F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421985;
/* rgb */ color: rgb(66, 25, 133);
/* oklch */ color: oklch(34.8% 0.164 293.0);
Tailwind
colors: {
  custom: {
    50: '#7e5baa',
    500: '#421985',
    950: '#000000',
  },
}
SCSS
$custom: #421985;
$custom-light: #7e5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#421985",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 262.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34842,
    "c": 0.16389,
    "h": 293
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#421985
secondary
#8BB941
accent
#EB3DA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421985

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

Preview Lab → · Contrast checker → · Palette generator →

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