#422F9F#422F9F

#422F9F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.171 H 283.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#422F9F
RGBrgb(66, 47, 159)
HSLhsl(250, 54%, 40%)
HSVhsv(250, 70%, 62%)
CMYKcmyk(58.5%, 70.4%, 0%, 37.6%)
CIE-LABlab(28.63, 39.84, -57.93)
CIE-LCHlch(28.63, 70.31, 304.52°)
OKLaboklab(40.19% 0.0394 -0.1668)
OKLCHoklch(40.19% 0.171 283.3)
XYZxyz(9.5194, 5.6939, 33.3916)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F9F #8C9F2F
analogous
#2F549F #422F9F #7A2F9F
triadic
#422F9F #9F422F #2F9F42
tetradic
#422F9F #9F2F54 #8C9F2F #2F9F7A
square
#422F9F #9F2F54 #8C9F2F #2F9F7A
split-complementary
#422F9F #9F7A2F #549F2F
monochromatic
#1B1341 #2E2170 #422F9F #5A44C8 #8473D6

Accessibility & contrast

On white

9.82
#422F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#422F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F9F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F9F#FFFFFF#000000##FFFFFF
##422F9F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#0E4D63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422f9f;
/* rgb */ color: rgb(66, 47, 159);
/* oklch */ color: oklch(40.2% 0.171 283.3);
Tailwind
colors: {
  custom: {
    50: '#8169bc',
    500: '#422f9f',
    950: '#000000',
  },
}
SCSS
$custom: #422f9f;
$custom-light: #8169bc;
$custom-dark: #000000;
JSON
{
  "hex": "#422f9f",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 250.179,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.17135,
    "h": 283.3
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#422F9F
secondary
#B0BD6D
accent
#DE4AC5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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