#422378#422378

#422378 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.137 H 295.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#422378
RGBrgb(66, 35, 120)
HSLhsl(262, 55%, 30%)
HSVhsv(262, 71%, 47%)
CMYKcmyk(45%, 70.8%, 0%, 52.9%)
CIE-LABlab(22.71, 34.82, -43.34)
CIE-LCHlch(22.71, 55.59, 308.78°)
OKLaboklab(34.9% 0.058 -0.1239)
OKLCHoklch(34.9% 0.137 295.1)
XYZxyz(6.2371, 3.7162, 18.1543)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422378 #597823
analogous
#232F78 #422378 #6C2378
triadic
#422378 #784223 #237842
tetradic
#422378 #78232F #597823 #23786C
square
#422378 #78232F #597823 #23786C
split-complementary
#422378 #786C23 #2F7823
monochromatic
#0E0719 #281549 #422378 #5C31A7 #794BCA

Accessibility & contrast

On white

12.05
#422378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#422378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422378
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422378#FFFFFF#000000##FFFFFF
##4223781.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422378;
/* rgb */ color: rgb(66, 35, 120);
/* oklch */ color: oklch(34.9% 0.137 295.1);
Tailwind
colors: {
  custom: {
    50: '#7c60a0',
    500: '#422378',
    950: '#000000',
  },
}
SCSS
$custom: #422378;
$custom-light: #7c60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422378",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 261.882,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34897,
    "c": 0.13678,
    "h": 295.1
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#422378
secondary
#88AB4C
accent
#DE4AA8
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #422378

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

Preview Lab → · Contrast checker → · Palette generator →

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