#422892#422892

#422892 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.163 H 287.1°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#422892
RGBrgb(66, 40, 146)
HSLhsl(255, 57%, 36%)
HSVhsv(255, 73%, 57%)
CMYKcmyk(54.8%, 72.6%, 0%, 42.7%)
CIE-LABlab(26.01, 39.78, -54.25)
CIE-LCHlch(26.01, 67.27, 306.25°)
OKLaboklab(37.96% 0.048 -0.156)
OKLCHoklch(37.96% 0.163 287.1)
XYZxyz(8.1923, 4.7507, 27.6739)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422892 #789228
analogous
#284392 #422892 #772892
triadic
#422892 #924228 #289242
tetradic
#422892 #922843 #789228 #289277
square
#422892 #922843 #789228 #289277
split-complementary
#422892 #927728 #439228
monochromatic
#170E32 #2C1B62 #422892 #5835C2 #7D61D4

Accessibility & contrast

On white

10.77
#422892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#422892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422892
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422892#FFFFFF#000000##FFFFFF
##4228921.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#21445A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422892;
/* rgb */ color: rgb(66, 40, 146);
/* oklch */ color: oklch(38.0% 0.163 287.1);
Tailwind
colors: {
  custom: {
    50: '#7f64b3',
    500: '#422892',
    950: '#000000',
  },
}
SCSS
$custom: #422892;
$custom-light: #7f64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#422892",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 254.717,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.16317,
    "h": 287.1
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#422892
secondary
#A2B95D
accent
#E048BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422892

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

Preview Lab → · Contrast checker → · Palette generator →

#422892 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva