#422154#422154

#422154 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.094 H 312.1°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#422154
RGBrgb(66, 33, 84)
HSLhsl(279, 44%, 23%)
HSVhsv(279, 61%, 33%)
CMYKcmyk(21.4%, 60.7%, 0%, 67.1%)
CIE-LABlab(19.58, 26.03, -24.83)
CIE-LCHlch(19.58, 35.98, 316.35°)
OKLaboklab(31.77% 0.0629 -0.0696)
OKLCHoklch(31.77% 0.094 312.1)
XYZxyz(4.3906, 2.8862, 8.7116)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422154 #335421
analogous
#282154 #422154 #54214C
triadic
#422154 #544221 #215442
tetradic
#422154 #542821 #335421 #214C54
square
#422154 #542821 #335421 #214C54
split-complementary
#422154 #4C5421 #215428
monochromatic
#110916 #1F1028 #422154 #653280 #8744AC

Accessibility & contrast

On white

13.31
#422154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#422154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422154
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422154#FFFFFF#000000##FFFFFF
##4221541.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E56
Deuteranopia (green-blind)
#1E3053
Tritanopia (blue-blind)
#402A37
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #422154;
/* rgb */ color: rgb(66, 33, 84);
/* oklch */ color: oklch(31.8% 0.094 312.1);
Tailwind
colors: {
  custom: {
    50: '#785e84',
    500: '#422154',
    950: '#000000',
  },
}
SCSS
$custom: #422154;
$custom-light: #785e84;
$custom-dark: #000000;
JSON
{
  "hex": "#422154",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 278.824,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.09378,
    "h": 312.1
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#422154
secondary
#5F8849
accent
#D35481
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #422154

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

Preview Lab → · Contrast checker → · Palette generator →

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