#422699#422699

#422699 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.174 H 286.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#422699
RGBrgb(66, 38, 153)
HSLhsl(255, 60%, 37%)
HSVhsv(255, 75%, 60%)
CMYKcmyk(56.9%, 75.2%, 0%, 40%)
CIE-LABlab(26.29, 42.97, -58.11)
CIE-LCHlch(26.29, 72.27, 306.48°)
OKLaboklab(38.36% 0.0481 -0.1672)
OKLCHoklch(38.36% 0.174 286)
XYZxyz(8.6879, 4.8439, 30.6080)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422699 #7D9926
analogous
#264399 #422699 #7C2699
triadic
#422699 #994226 #269942
tetradic
#422699 #992643 #7D9926 #26997C
square
#422699 #992643 #7D9926 #26997C
split-complementary
#422699 #997C26 #439926
monochromatic
#180E37 #2D1A68 #422699 #5732CA #7E62D8

Accessibility & contrast

On white

10.67
#422699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#422699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422699
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422699#FFFFFF#000000##FFFFFF
##4226991.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#19465D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422699;
/* rgb */ color: rgb(66, 38, 153);
/* oklch */ color: oklch(38.4% 0.174 286.0);
Tailwind
colors: {
  custom: {
    50: '#8064b8',
    500: '#422699',
    950: '#000000',
  },
}
SCSS
$custom: #422699;
$custom-light: #8064b8;
$custom-dark: #000000;
JSON
{
  "hex": "#422699",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 254.609,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38358,
    "c": 0.17402,
    "h": 286
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#422699
secondary
#A6BD5E
accent
#E344BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422699

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

Preview Lab → · Contrast checker → · Palette generator →

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