#422883#422883

#422883 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.144 H 290.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#422883
RGBrgb(66, 40, 131)
HSLhsl(257, 53%, 34%)
HSVhsv(257, 69%, 51%)
CMYKcmyk(49.6%, 69.5%, 0%, 48.6%)
CIE-LABlab(24.68, 35.22, -47.08)
CIE-LCHlch(24.68, 58.80, 306.80°)
OKLaboklab(36.6% 0.0508 -0.1349)
OKLCHoklch(36.6% 0.144 290.6)
XYZxyz(7.1011, 4.3143, 21.9269)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422883 #698328
analogous
#283B83 #422883 #6F2883
triadic
#422883 #834228 #288342
tetradic
#422883 #83283B #698328 #28836F
square
#422883 #83283B #698328 #28836F
split-complementary
#422883 #836F28 #3B8328
monochromatic
#130B25 #2A1A54 #422883 #5A36B2 #7A59CC

Accessibility & contrast

On white

11.27
#422883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422883
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422883#FFFFFF#000000##FFFFFF
##4228831.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#2D3F52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422883;
/* rgb */ color: rgb(66, 40, 131);
/* oklch */ color: oklch(36.6% 0.144 290.6);
Tailwind
colors: {
  custom: {
    50: '#7d64a8',
    500: '#422883',
    950: '#000000',
  },
}
SCSS
$custom: #422883;
$custom-light: #7d64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422883",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 257.143,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36604,
    "c": 0.14415,
    "h": 290.6
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#422883
secondary
#97B155
accent
#DD4BB3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #422883

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

Preview Lab → · Contrast checker → · Palette generator →

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