#422C95#422C95

#422C95 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.162 H 285.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#422C95
RGBrgb(66, 44, 149)
HSLhsl(253, 54%, 38%)
HSVhsv(253, 70%, 58%)
CMYKcmyk(55.7%, 70.5%, 0%, 41.6%)
CIE-LABlab(27.10, 38.44, -54.32)
CIE-LCHlch(27.10, 66.55, 305.29°)
OKLaboklab(38.82% 0.0438 -0.1562)
OKLCHoklch(38.82% 0.162 285.7)
XYZxyz(8.5706, 5.1291, 28.9663)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C95 #7F952C
analogous
#2C4B95 #422C95 #762C95
triadic
#422C95 #95422C #2C9542
tetradic
#422C95 #952C4B #7F952C #2C9576
square
#422C95 #952C4B #7F952C #2C9576
split-complementary
#422C95 #95762C #4B952C
monochromatic
#181037 #2D1E66 #422C95 #573AC4 #7F69D3

Accessibility & contrast

On white

10.37
#422C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#422C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C95
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C95#FFFFFF#000000##FFFFFF
##422C951.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#1E475D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #422c95;
/* rgb */ color: rgb(66, 44, 149);
/* oklch */ color: oklch(38.8% 0.162 285.7);
Tailwind
colors: {
  custom: {
    50: '#7f67b5',
    500: '#422c95',
    950: '#000000',
  },
}
SCSS
$custom: #422c95;
$custom-light: #7f67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422c95",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 252.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38823,
    "c": 0.1622,
    "h": 285.7
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#422C95
secondary
#A7B964
accent
#DE4ABF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422C95

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

Preview Lab → · Contrast checker → · Palette generator →

#422C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva