#422280#422280

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

Color values

HEX#422280
RGBrgb(66, 34, 128)
HSLhsl(260, 58%, 32%)
HSVhsv(260, 73%, 50%)
CMYKcmyk(48.4%, 73.4%, 0%, 49.8%)
CIE-LABlab(23.21, 37.70, -47.61)
CIE-LCHlch(23.21, 60.73, 308.38°)
OKLaboklab(35.47% 0.0575 -0.1364)
OKLCHoklch(35.47% 0.148 292.8)
XYZxyz(6.7140, 3.8606, 20.8093)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422280 #608022
analogous
#223180 #422280 #712280
triadic
#422280 #804222 #228042
tetradic
#422280 #802231 #608022 #228071
square
#422280 #802231 #608022 #228071
split-complementary
#422280 #807122 #318022
monochromatic
#10081F #291550 #422280 #5B2FB0 #794DD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422280#FFFFFF#000000##FFFFFF
##4222801.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)
#003983
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#2F3A4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422280;
/* rgb */ color: rgb(66, 34, 128);
/* oklch */ color: oklch(35.5% 0.148 292.8);
Tailwind
colors: {
  custom: {
    50: '#7d60a6',
    500: '#422280',
    950: '#000000',
  },
}
SCSS
$custom: #422280;
$custom-light: #7d60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#422280",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 260.426,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35466,
    "c": 0.14805,
    "h": 292.8
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#422280
secondary
#8FB24B
accent
#E147AD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #422280

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

Preview Lab → · Contrast checker → · Palette generator →

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