#422896#422896

#422896 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.168 H 286.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#422896
RGBrgb(66, 40, 150)
HSLhsl(254, 58%, 37%)
HSVhsv(254, 73%, 59%)
CMYKcmyk(56%, 73.3%, 0%, 41.2%)
CIE-LABlab(26.38, 40.99, -56.11)
CIE-LCHlch(26.38, 69.49, 306.15°)
OKLaboklab(38.34% 0.0471 -0.1614)
OKLCHoklch(38.34% 0.168 286.3)
XYZxyz(8.5089, 4.8774, 29.3413)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422896 #7C9628
analogous
#284596 #422896 #792896
triadic
#422896 #964228 #289642
tetradic
#422896 #962845 #7C9628 #289679
square
#422896 #962845 #7C9628 #289679
split-complementary
#422896 #967928 #459628
monochromatic
#170E35 #2D1B66 #422896 #5735C6 #7E63D5

Accessibility & contrast

On white

10.63
#422896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#422896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422896
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422896#FFFFFF#000000##FFFFFF
##4228961.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#1D465C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422896;
/* rgb */ color: rgb(66, 40, 150);
/* oklch */ color: oklch(38.3% 0.168 286.3);
Tailwind
colors: {
  custom: {
    50: '#8065b6',
    500: '#422896',
    950: '#000000',
  },
}
SCSS
$custom: #422896;
$custom-light: #8065b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422896",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 254.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.16815,
    "h": 286.3
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#422896
secondary
#A5BB5F
accent
#E147BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422896

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

Preview Lab → · Contrast checker → · Palette generator →

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