#422F9C#422F9C

#422F9C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.168 H 283.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#422F9C
RGBrgb(66, 47, 156)
HSLhsl(250, 54%, 40%)
HSVhsv(250, 70%, 61%)
CMYKcmyk(57.7%, 69.9%, 0%, 38.8%)
CIE-LABlab(28.36, 38.90, -56.55)
CIE-LCHlch(28.36, 68.63, 304.52°)
OKLaboklab(39.92% 0.0399 -0.1627)
OKLCHoklch(39.92% 0.168 283.8)
XYZxyz(9.2622, 5.5910, 32.0372)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F9C #899C2F
analogous
#2F529C #422F9C #792F9C
triadic
#422F9C #9C422F #2F9C42
tetradic
#422F9C #9C2F52 #899C2F #2F9C79
square
#422F9C #9C2F52 #899C2F #2F9C79
split-complementary
#422F9C #9C792F #529C2F
monochromatic
#1A133E #2E216D #422F9C #5942C6 #8271D4

Accessibility & contrast

On white

9.91
#422F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#422F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F9C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F9C#FFFFFF#000000##FFFFFF
##422F9C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#144B62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422f9c;
/* rgb */ color: rgb(66, 47, 156);
/* oklch */ color: oklch(39.9% 0.168 283.8);
Tailwind
colors: {
  custom: {
    50: '#8069ba',
    500: '#422f9c',
    950: '#000000',
  },
}
SCSS
$custom: #422f9c;
$custom-light: #8069ba;
$custom-dark: #000000;
JSON
{
  "hex": "#422f9c",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 250.459,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39916,
    "c": 0.16753,
    "h": 283.8
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#422F9C
secondary
#AEBC6B
accent
#DD4BC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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