#422379#422379

#422379 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.138 H 294.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#422379
RGBrgb(66, 35, 121)
HSLhsl(262, 55%, 31%)
HSVhsv(262, 71%, 47%)
CMYKcmyk(45.5%, 71.1%, 0%, 52.5%)
CIE-LABlab(22.79, 35.11, -43.84)
CIE-LCHlch(22.79, 56.17, 308.69°)
OKLaboklab(34.98% 0.0578 -0.1254)
OKLCHoklch(34.98% 0.138 294.7)
XYZxyz(6.2981, 3.7406, 18.4756)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422379 #5A7923
analogous
#232F79 #422379 #6D2379
triadic
#422379 #794223 #237942
tetradic
#422379 #79232F #5A7923 #23796D
square
#422379 #79232F #5A7923 #23796D
split-complementary
#422379 #796D23 #2F7923
monochromatic
#0E081A #28154A #422379 #5C31A8 #794BCB

Accessibility & contrast

On white

12.01
#422379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#422379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422379
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422379#FFFFFF#000000##FFFFFF
##4223791.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#33384B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #422379;
/* rgb */ color: rgb(66, 35, 121);
/* oklch */ color: oklch(35.0% 0.138 294.7);
Tailwind
colors: {
  custom: {
    50: '#7c60a0',
    500: '#422379',
    950: '#000000',
  },
}
SCSS
$custom: #422379;
$custom-light: #7c60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422379",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 261.628,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34984,
    "c": 0.13804,
    "h": 294.7
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#422379
secondary
#89AC4C
accent
#DE49A9
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #422379

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

Preview Lab → · Contrast checker → · Palette generator →

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