#422688#422688

#422688 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.153 H 289.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#422688
RGBrgb(66, 38, 136)
HSLhsl(257, 56%, 34%)
HSVhsv(257, 72%, 53%)
CMYKcmyk(51.5%, 72.1%, 0%, 46.7%)
CIE-LABlab(24.71, 37.87, -50.18)
CIE-LCHlch(24.71, 62.86, 307.04°)
OKLaboklab(36.76% 0.0519 -0.144)
OKLCHoklch(36.76% 0.153 289.8)
XYZxyz(7.3825, 4.3217, 23.7330)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422688 #6C8826
analogous
#263B88 #422688 #732688
triadic
#422688 #884226 #268842
tetradic
#422688 #88263B #6C8826 #268873
square
#422688 #88263B #6C8826 #268873
split-complementary
#422688 #887326 #3B8826
monochromatic
#140B28 #2B1958 #422688 #5933B8 #7A58D0

Accessibility & contrast

On white

11.26
#422688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#422688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422688
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422688#FFFFFF#000000##FFFFFF
##4226881.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#2A3F54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422688;
/* rgb */ color: rgb(66, 38, 136);
/* oklch */ color: oklch(36.8% 0.153 289.8);
Tailwind
colors: {
  custom: {
    50: '#7e63ac',
    500: '#422688',
    950: '#000000',
  },
}
SCSS
$custom: #422688;
$custom-light: #7e63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422688",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 257.143,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36756,
    "c": 0.15307,
    "h": 289.8
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#422688
secondary
#9AB555
accent
#E048B4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #422688

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

Preview Lab → · Contrast checker → · Palette generator →

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