#422294#422294

#422294 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.172 H 287.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#422294
RGBrgb(66, 34, 148)
HSLhsl(257, 63%, 36%)
HSVhsv(257, 77%, 58%)
CMYKcmyk(55.4%, 77%, 0%, 42%)
CIE-LABlab(25.08, 43.55, -57.02)
CIE-LCHlch(25.08, 71.75, 307.37°)
OKLaboklab(37.36% 0.0525 -0.164)
OKLCHoklch(37.36% 0.172 287.8)
XYZxyz(8.1625, 4.4400, 28.4381)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422294 #749422
analogous
#223B94 #422294 #7B2294
triadic
#422294 #944222 #229442
tetradic
#422294 #94223B #749422 #22947B
square
#422294 #94223B #749422 #22947B
split-complementary
#422294 #947B22 #3B9422
monochromatic
#160B30 #2C1762 #422294 #582DC6 #7C58D9

Accessibility & contrast

On white

11.12
#422294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#422294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422294
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422294#FFFFFF#000000##FFFFFF
##4222941.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#20425A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422294;
/* rgb */ color: rgb(66, 34, 148);
/* oklch */ color: oklch(37.4% 0.172 287.8);
Tailwind
colors: {
  custom: {
    50: '#8061b4',
    500: '#422294',
    950: '#000000',
  },
}
SCSS
$custom: #422294;
$custom-light: #8061b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422294",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 256.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3736,
    "c": 0.17224,
    "h": 287.8
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#422294
secondary
#A0BD55
accent
#E642B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422294

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

Preview Lab → · Contrast checker → · Palette generator →

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