#422F8D#422F8D

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

Color values

HEX#422F8D
RGBrgb(66, 47, 141)
HSLhsl(252, 50%, 37%)
HSVhsv(252, 67%, 55%)
CMYKcmyk(53.2%, 66.7%, 0%, 44.7%)
CIE-LABlab(27.06, 34.17, -49.45)
CIE-LCHlch(27.06, 60.11, 304.64°)
OKLaboklab(38.58% 0.0421 -0.1419)
OKLCHoklch(38.58% 0.148 286.5)
XYZxyz(8.0696, 5.1140, 25.7560)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F8D #7A8D2F
analogous
#2F4B8D #422F8D #712F8D
triadic
#422F8D #8D422F #2F8D42
tetradic
#422F8D #8D2F4B #7A8D2F #2F8D71
square
#422F8D #8D2F4B #7A8D2F #2F8D71
split-complementary
#422F8D #8D712F #4B8D2F
monochromatic
#171031 #2D205F #422F8D #573EBB #7D69CD

Accessibility & contrast

On white

10.38
#422F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422F8D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F8D#FFFFFF#000000##FFFFFF
##422F8D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#254659
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #422f8d;
/* rgb */ color: rgb(66, 47, 141);
/* oklch */ color: oklch(38.6% 0.148 286.5);
Tailwind
colors: {
  custom: {
    50: '#7e69af',
    500: '#422f8d',
    950: '#000000',
  },
}
SCSS
$custom: #422f8d;
$custom-light: #7e69af;
$custom-dark: #000000;
JSON
{
  "hex": "#422f8d",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 252.128,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.14799,
    "h": 286.5
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#422F8D
secondary
#A4B464
accent
#DA4EBD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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