#422783#422783

#422783 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.145 H 290.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#422783
RGBrgb(66, 39, 131)
HSLhsl(258, 54%, 33%)
HSVhsv(258, 70%, 51%)
CMYKcmyk(49.6%, 70.2%, 0%, 48.6%)
CIE-LABlab(24.47, 35.80, -47.43)
CIE-LCHlch(24.47, 59.42, 307.05°)
OKLaboklab(36.45% 0.0518 -0.1359)
OKLCHoklch(36.45% 0.145 290.9)
XYZxyz(7.0679, 4.2477, 21.9158)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422783 #688327
analogous
#273A83 #422783 #702783
triadic
#422783 #834227 #278342
tetradic
#422783 #83273A #688327 #278370
square
#422783 #83273A #688327 #278370
split-complementary
#422783 #837027 #3A8327
monochromatic
#120B25 #2A1954 #422783 #5A35B2 #7A57CD

Accessibility & contrast

On white

11.35
#422783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#422783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422783
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422783#FFFFFF#000000##FFFFFF
##4227831.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#2D3E51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #422783;
/* rgb */ color: rgb(66, 39, 131);
/* oklch */ color: oklch(36.5% 0.145 290.9);
Tailwind
colors: {
  custom: {
    50: '#7d63a8',
    500: '#422783',
    950: '#000000',
  },
}
SCSS
$custom: #422783;
$custom-light: #7d63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422783",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 257.609,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36453,
    "c": 0.14547,
    "h": 290.9
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#422783
secondary
#96B254
accent
#DD4AB2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #422783

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

Preview Lab → · Contrast checker → · Palette generator →

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