#422994#422994

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

Color values

HEX#422994
RGBrgb(66, 41, 148)
HSLhsl(254, 57%, 37%)
HSVhsv(254, 72%, 58%)
CMYKcmyk(55.4%, 72.3%, 0%, 42%)
CIE-LABlab(26.40, 39.83, -54.86)
CIE-LCHlch(26.40, 67.79, 305.98°)
OKLaboklab(38.29% 0.0467 -0.1577)
OKLCHoklch(38.29% 0.165 286.5)
XYZxyz(8.3834, 4.8818, 28.5118)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422994 #7B9429
analogous
#294594 #422994 #782994
triadic
#422994 #944229 #299442
tetradic
#422994 #942945 #7B9429 #299478
square
#422994 #942945 #7B9429 #299478
split-complementary
#422994 #947829 #459429
monochromatic
#170E34 #2D1C64 #422994 #5736C4 #7E63D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422994#FFFFFF#000000##FFFFFF
##4229941.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)
#004197
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#1F455B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422994;
/* rgb */ color: rgb(66, 41, 148);
/* oklch */ color: oklch(38.3% 0.165 286.5);
Tailwind
colors: {
  custom: {
    50: '#7f65b4',
    500: '#422994',
    950: '#000000',
  },
}
SCSS
$custom: #422994;
$custom-light: #7f65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422994",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 254.019,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.1645,
    "h": 286.5
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#422994
secondary
#A5BA5F
accent
#E048BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422994

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

Preview Lab → · Contrast checker → · Palette generator →

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