#422E87#422E87

#422E87 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.141 H 288.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#422E87
RGBrgb(66, 46, 135)
HSLhsl(253, 49%, 35%)
HSVhsv(253, 66%, 53%)
CMYKcmyk(51.1%, 65.9%, 0%, 47.1%)
CIE-LABlab(26.34, 32.89, -46.90)
CIE-LCHlch(26.34, 57.28, 305.04°)
OKLaboklab(37.9% 0.0438 -0.1344)
OKLCHoklch(37.9% 0.141 288.1)
XYZxyz(7.5957, 4.8612, 23.4550)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E87 #73872E
analogous
#2E4687 #422E87 #6E2E87
triadic
#422E87 #87422E #2E8742
tetradic
#422E87 #872E46 #73872E #2E876E
square
#422E87 #872E46 #73872E #2E876E
split-complementary
#422E87 #876E2E #46872E
monochromatic
#150F2C #2C1E59 #422E87 #583EB5 #7C65CA

Accessibility & contrast

On white

10.65
#422E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#422E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422E87
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E87#FFFFFF#000000##FFFFFF
##422E871.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#2A4356
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422e87;
/* rgb */ color: rgb(66, 46, 135);
/* oklch */ color: oklch(37.9% 0.141 288.1);
Tailwind
colors: {
  custom: {
    50: '#7d68ab',
    500: '#422e87',
    950: '#000000',
  },
}
SCSS
$custom: #422e87;
$custom-light: #7d68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#422e87",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 253.483,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.379,
    "c": 0.14135,
    "h": 288.1
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#422E87
secondary
#9FB160
accent
#D94FBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422E87

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

Preview Lab → · Contrast checker → · Palette generator →

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