#422C8B#422C8B

#422C8B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.149 H 287.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#422C8B
RGBrgb(66, 44, 139)
HSLhsl(254, 52%, 36%)
HSVhsv(254, 68%, 55%)
CMYKcmyk(52.5%, 68.3%, 0%, 45.5%)
CIE-LABlab(26.23, 35.33, -49.57)
CIE-LCHlch(26.23, 60.87, 305.48°)
OKLaboklab(37.92% 0.0454 -0.1422)
OKLCHoklch(37.92% 0.149 287.7)
XYZxyz(7.8063, 4.8233, 24.9408)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C8B #758B2C
analogous
#2C458B #422C8B #712C8B
triadic
#422C8B #8B422C #2C8B42
tetradic
#422C8B #8B2C45 #758B2C #2C8B71
square
#422C8B #8B2C45 #758B2C #2C8B71
split-complementary
#422C8B #8B712C #458B2C
monochromatic
#160F2E #2C1D5D #422C8B #583BB9 #7C64CE

Accessibility & contrast

On white

10.69
#422C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#422C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C8B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C8B#FFFFFF#000000##FFFFFF
##422C8B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#274457
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422c8b;
/* rgb */ color: rgb(66, 44, 139);
/* oklch */ color: oklch(37.9% 0.149 287.7);
Tailwind
colors: {
  custom: {
    50: '#7e67ae',
    500: '#422c8b',
    950: '#000000',
  },
}
SCSS
$custom: #422c8b;
$custom-light: #7e67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#422c8b",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 253.895,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.1493,
    "h": 287.7
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#422C8B
secondary
#A0B45F
accent
#DB4CBA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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