#422774#422774

#422774 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.126 H 295.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#422774
RGBrgb(66, 39, 116)
HSLhsl(261, 50%, 30%)
HSVhsv(261, 66%, 45%)
CMYKcmyk(43.1%, 66.4%, 0%, 54.5%)
CIE-LABlab(23.24, 31.32, -39.93)
CIE-LCHlch(23.24, 50.74, 308.11°)
OKLaboklab(35.17% 0.0538 -0.1139)
OKLCHoklch(35.17% 0.126 295.3)
XYZxyz(6.1238, 3.8701, 16.9440)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422774 #597427
analogous
#273274 #422774 #682774
triadic
#422774 #744227 #277442
tetradic
#422774 #742732 #597427 #277468
square
#422774 #742732 #597427 #277468
split-complementary
#422774 #746827 #327427
monochromatic
#0E0818 #281846 #422774 #5C36A2 #7951C4

Accessibility & contrast

On white

11.84
#422774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422774
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422774#FFFFFF#000000##FFFFFF
##4227741.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#353949
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422774;
/* rgb */ color: rgb(66, 39, 116);
/* oklch */ color: oklch(35.2% 0.126 295.3);
Tailwind
colors: {
  custom: {
    50: '#7b639d',
    500: '#422774',
    950: '#000000',
  },
}
SCSS
$custom: #422774;
$custom-light: #7b639d;
$custom-dark: #000000;
JSON
{
  "hex": "#422774",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 261.039,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35174,
    "c": 0.12595,
    "h": 295.3
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#422774
secondary
#88A650
accent
#D94FA9
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422774

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

Preview Lab → · Contrast checker → · Palette generator →

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