#422F71#422F71

#422F71 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.3% C 0.109 H 293.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#422F71
RGBrgb(66, 47, 113)
HSLhsl(257, 41%, 31%)
HSVhsv(257, 58%, 44%)
CMYKcmyk(41.6%, 58.4%, 0%, 55.7%)
CIE-LABlab(24.90, 25.44, -35.32)
CIE-LCHlch(24.90, 43.53, 305.77°)
OKLaboklab(36.32% 0.0436 -0.1003)
OKLCHoklch(36.32% 0.109 293.5)
XYZxyz(6.2431, 4.3834, 16.1367)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F71 #5E712F
analogous
#2F3D71 #422F71 #632F71
triadic
#422F71 #71422F #2F7142
tetradic
#422F71 #712F3D #5E712F #2F7163
square
#422F71 #712F3D #5E712F #2F7163
split-complementary
#422F71 #71632F #3D712F
monochromatic
#100B1B #291D46 #422F71 #5B419C #795EBC

Accessibility & contrast

On white

11.19
#422F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#422F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F71
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F71#FFFFFF#000000##FFFFFF
##422F711.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#363D4B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422f71;
/* rgb */ color: rgb(66, 47, 113);
/* oklch */ color: oklch(36.3% 0.109 293.5);
Tailwind
colors: {
  custom: {
    50: '#7a689a',
    500: '#422f71',
    950: '#000000',
  },
}
SCSS
$custom: #422f71;
$custom-light: #7a689a;
$custom-dark: #000000;
JSON
{
  "hex": "#422f71",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 257.273,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.1094,
    "h": 293.5
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#422F71
secondary
#8DA25A
accent
#D157AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #422F71

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

Preview Lab → · Contrast checker → · Palette generator →

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