#422980#422980

#422980 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.139 H 291.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#422980
RGBrgb(66, 41, 128)
HSLhsl(257, 51%, 33%)
HSVhsv(257, 68%, 50%)
CMYKcmyk(48.4%, 68%, 0%, 49.8%)
CIE-LABlab(24.65, 33.73, -45.26)
CIE-LCHlch(24.65, 56.44, 306.70°)
OKLaboklab(36.5% 0.0501 -0.1296)
OKLCHoklch(36.5% 0.139 291.1)
XYZxyz(6.9349, 4.3024, 20.8829)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422980 #678029
analogous
#293C80 #422980 #6D2980
triadic
#422980 #804229 #298042
tetradic
#422980 #80293C #678029 #29806D
square
#422980 #80293C #678029 #29806D
split-complementary
#422980 #806D29 #3C8029
monochromatic
#120B23 #2A1A52 #422980 #5A38AE #7A59CA

Accessibility & contrast

On white

11.29
#422980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#422980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422980
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422980#FFFFFF#000000##FFFFFF
##4229801.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#2F3E50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422980;
/* rgb */ color: rgb(66, 41, 128);
/* oklch */ color: oklch(36.5% 0.139 291.1);
Tailwind
colors: {
  custom: {
    50: '#7c64a6',
    500: '#422980',
    950: '#000000',
  },
}
SCSS
$custom: #422980;
$custom-light: #7c64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#422980",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 257.241,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36498,
    "c": 0.13892,
    "h": 291.1
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#422980
secondary
#95AF55
accent
#DB4DB2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #422980

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

Preview Lab → · Contrast checker → · Palette generator →

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