#422F8A#422F8A

#422F8A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.144 H 287.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#422F8A
RGBrgb(66, 47, 138)
HSLhsl(253, 49%, 36%)
HSVhsv(253, 66%, 54%)
CMYKcmyk(52.2%, 65.9%, 0%, 45.9%)
CIE-LABlab(26.81, 33.22, -48.00)
CIE-LCHlch(26.81, 58.37, 304.69°)
OKLaboklab(38.32% 0.0424 -0.1376)
OKLCHoklch(38.32% 0.144 287.1)
XYZxyz(7.8494, 5.0259, 24.5963)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F8A #778A2F
analogous
#2F4A8A #422F8A #702F8A
triadic
#422F8A #8A422F #2F8A42
tetradic
#422F8A #8A2F4A #778A2F #2F8A70
square
#422F8A #8A2F4A #778A2F #2F8A70
split-complementary
#422F8A #8A702F #4A8A2F
monochromatic
#16102F #2C1F5C #422F8A #583FB8 #7D68CC

Accessibility & contrast

On white

10.47
#422F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#422F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F8A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F8A#FFFFFF#000000##FFFFFF
##422F8A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#284558
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422f8a;
/* rgb */ color: rgb(66, 47, 138);
/* oklch */ color: oklch(38.3% 0.144 287.1);
Tailwind
colors: {
  custom: {
    50: '#7d69ad',
    500: '#422f8a',
    950: '#000000',
  },
}
SCSS
$custom: #422f8a;
$custom-light: #7d69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#422f8a",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 252.527,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.14399,
    "h": 287.1
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#422F8A
secondary
#A2B362
accent
#D94FBC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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