#422F87#422F87

#422F87 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.140 H 287.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#422F87
RGBrgb(66, 47, 135)
HSLhsl(253, 48%, 36%)
HSVhsv(253, 65%, 53%)
CMYKcmyk(51.1%, 65.2%, 0%, 47.1%)
CIE-LABlab(26.56, 32.28, -46.53)
CIE-LCHlch(26.56, 56.63, 304.75°)
OKLaboklab(38.07% 0.0427 -0.1333)
OKLCHoklch(38.07% 0.14 287.8)
XYZxyz(7.6352, 4.9402, 23.4682)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F87 #74872F
analogous
#2F4887 #422F87 #6E2F87
triadic
#422F87 #87422F #2F8742
tetradic
#422F87 #872F48 #74872F #2F876E
square
#422F87 #872F48 #74872F #2F876E
split-complementary
#422F87 #876E2F #48872F
monochromatic
#160F2C #2C1F5A #422F87 #583FB4 #7C66CA

Accessibility & contrast

On white

10.56
#422F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#422F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F87
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F87#FFFFFF#000000##FFFFFF
##422F871.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#2A4456
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422f87;
/* rgb */ color: rgb(66, 47, 135);
/* oklch */ color: oklch(38.1% 0.140 287.8);
Tailwind
colors: {
  custom: {
    50: '#7d68ab',
    500: '#422f87',
    950: '#000000',
  },
}
SCSS
$custom: #422f87;
$custom-light: #7d68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#422f87",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 252.955,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38065,
    "c": 0.13997,
    "h": 287.8
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#422F87
secondary
#A0B161
accent
#D850BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422F87

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

Preview Lab → · Contrast checker → · Palette generator →

#422F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva