#422579#422579

#422579 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.135 H 294.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#422579
RGBrgb(66, 37, 121)
HSLhsl(261, 53%, 31%)
HSVhsv(261, 69%, 47%)
CMYKcmyk(45.5%, 69.4%, 0%, 52.5%)
CIE-LABlab(23.21, 33.97, -43.16)
CIE-LCHlch(23.21, 54.93, 308.21°)
OKLaboklab(35.28% 0.0556 -0.1234)
OKLCHoklch(35.28% 0.135 294.2)
XYZxyz(6.3586, 3.8617, 18.4958)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422579 #5C7925
analogous
#253279 #422579 #6C2579
triadic
#422579 #794225 #257942
tetradic
#422579 #792532 #5C7925 #25796C
square
#422579 #792532 #5C7925 #25796C
split-complementary
#422579 #796C25 #327925
monochromatic
#0F081B #28174A #422579 #5C33A8 #794FC9

Accessibility & contrast

On white

11.85
#422579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#422579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422579
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422579#FFFFFF#000000##FFFFFF
##4225791.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#33394B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422579;
/* rgb */ color: rgb(66, 37, 121);
/* oklch */ color: oklch(35.3% 0.135 294.2);
Tailwind
colors: {
  custom: {
    50: '#7c62a0',
    500: '#422579',
    950: '#000000',
  },
}
SCSS
$custom: #422579;
$custom-light: #7c62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422579",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 260.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35281,
    "c": 0.13532,
    "h": 294.2
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#422579
secondary
#8BAB4E
accent
#DD4BAA
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #422579

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

Preview Lab → · Contrast checker → · Palette generator →

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