#422E8F#422E8F

#422E8F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.152 H 286.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#422E8F
RGBrgb(66, 46, 143)
HSLhsl(252, 51%, 37%)
HSVhsv(252, 68%, 56%)
CMYKcmyk(53.8%, 67.8%, 0%, 43.9%)
CIE-LABlab(27.00, 35.39, -50.78)
CIE-LCHlch(27.00, 61.90, 304.88°)
OKLaboklab(38.59% 0.0428 -0.1458)
OKLCHoklch(38.59% 0.152 286.4)
XYZxyz(8.1802, 5.0950, 26.5337)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E8F #7B8F2E
analogous
#2E4B8F #422E8F #732E8F
triadic
#422E8F #8F422E #2E8F42
tetradic
#422E8F #8F2E4B #7B8F2E #2E8F73
square
#422E8F #8F2E4B #7B8F2E #2E8F73
split-complementary
#422E8F #8F732E #4B8F2E
monochromatic
#171032 #2D1F61 #422E8F #573DBD #7E69CF

Accessibility & contrast

On white

10.40
#422E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#422E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422E8F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E8F#FFFFFF#000000##FFFFFF
##422E8F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#23465A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #422e8f;
/* rgb */ color: rgb(66, 46, 143);
/* oklch */ color: oklch(38.6% 0.152 286.4);
Tailwind
colors: {
  custom: {
    50: '#7e68b1',
    500: '#422e8f',
    950: '#000000',
  },
}
SCSS
$custom: #422e8f;
$custom-light: #7e68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#422e8f",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 252.371,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.15195,
    "h": 286.4
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#422E8F
secondary
#A5B663
accent
#DB4DBE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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