#422995#422995

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

Color values

HEX#422995
RGBrgb(66, 41, 149)
HSLhsl(254, 57%, 37%)
HSVhsv(254, 72%, 58%)
CMYKcmyk(55.7%, 72.5%, 0%, 41.6%)
CIE-LABlab(26.49, 40.14, -55.32)
CIE-LCHlch(26.49, 68.35, 305.96°)
OKLaboklab(38.39% 0.0465 -0.1591)
OKLCHoklch(38.39% 0.166 286.3)
XYZxyz(8.4629, 4.9136, 28.9304)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422995 #7C9529
analogous
#294695 #422995 #782995
triadic
#422995 #954229 #299542
tetradic
#422995 #952946 #7C9529 #299578
square
#422995 #952946 #7C9529 #299578
split-complementary
#422995 #957829 #469529
monochromatic
#170F35 #2D1C65 #422995 #5736C5 #7E64D4

Accessibility & contrast

On white

10.59
#422995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422995
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422995#FFFFFF#000000##FFFFFF
##4229951.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#1E465C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422995;
/* rgb */ color: rgb(66, 41, 149);
/* oklch */ color: oklch(38.4% 0.166 286.3);
Tailwind
colors: {
  custom: {
    50: '#8065b5',
    500: '#422995',
    950: '#000000',
  },
}
SCSS
$custom: #422995;
$custom-light: #8065b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422995",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 253.889,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.16576,
    "h": 286.3
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#422995
secondary
#A5BA60
accent
#E048BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422995

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

Preview Lab → · Contrast checker → · Palette generator →

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