#422E83#422E83

#422E83 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.136 H 289.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#422E83
RGBrgb(66, 46, 131)
HSLhsl(254, 48%, 35%)
HSVhsv(254, 65%, 51%)
CMYKcmyk(49.6%, 64.9%, 0%, 48.6%)
CIE-LABlab(26.01, 31.64, -44.92)
CIE-LCHlch(26.01, 54.95, 305.15°)
OKLaboklab(37.56% 0.0442 -0.1286)
OKLCHoklch(37.56% 0.136 289)
XYZxyz(7.3193, 4.7506, 21.9996)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E83 #6F832E
analogous
#2E4483 #422E83 #6D2E83
triadic
#422E83 #83422E #2E8342
tetradic
#422E83 #832E44 #6F832E #2E836D
square
#422E83 #832E44 #6F832E #2E836D
split-complementary
#422E83 #836D2E #44832E
monochromatic
#140E28 #2B1E56 #422E83 #593EB0 #7B63C8

Accessibility & contrast

On white

10.77
#422E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#422E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422E83
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E83#FFFFFF#000000##FFFFFF
##422E831.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#2D4254
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422e83;
/* rgb */ color: rgb(66, 46, 131);
/* oklch */ color: oklch(37.6% 0.136 289.0);
Tailwind
colors: {
  custom: {
    50: '#7c68a8',
    500: '#422e83',
    950: '#000000',
  },
}
SCSS
$custom: #422e83;
$custom-light: #7c68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422e83",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 254.118,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.13596,
    "h": 289
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#422E83
secondary
#9CAF5E
accent
#D850B8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422E83

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

Preview Lab → · Contrast checker → · Palette generator →

#422E83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva