#422291#422291

#422291 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.169 H 288.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#422291
RGBrgb(66, 34, 145)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 77%, 57%)
CMYKcmyk(54.5%, 76.6%, 0%, 43.1%)
CIE-LABlab(24.78, 42.67, -55.65)
CIE-LCHlch(24.78, 70.12, 307.48°)
OKLaboklab(37.07% 0.0533 -0.16)
OKLCHoklch(37.07% 0.169 288.4)
XYZxyz(7.9281, 4.3463, 27.2037)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422291 #719122
analogous
#223A91 #422291 #792291
triadic
#422291 #914222 #229142
tetradic
#422291 #91223A #719122 #229179
square
#422291 #91223A #719122 #229179
split-complementary
#422291 #917922 #3A9122
monochromatic
#150B2E #2B165F #422291 #592EC3 #7B56D7

Accessibility & contrast

On white

11.23
#422291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#422291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422291
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422291#FFFFFF#000000##FFFFFF
##4222911.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#234158
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422291;
/* rgb */ color: rgb(66, 34, 145);
/* oklch */ color: oklch(37.1% 0.169 288.4);
Tailwind
colors: {
  custom: {
    50: '#7f61b2',
    500: '#422291',
    950: '#000000',
  },
}
SCSS
$custom: #422291;
$custom-light: #7f61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#422291",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 257.297,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37067,
    "c": 0.16867,
    "h": 288.4
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#422291
secondary
#9DBB53
accent
#E543B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422291

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

Preview Lab → · Contrast checker → · Palette generator →

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