#422E80#422E80

#422E80 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.3% C 0.132 H 289.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#422E80
RGBrgb(66, 46, 128)
HSLhsl(255, 47%, 34%)
HSVhsv(255, 64%, 50%)
CMYKcmyk(48.4%, 64.1%, 0%, 49.8%)
CIE-LABlab(25.77, 30.70, -43.43)
CIE-LCHlch(25.77, 53.18, 305.26°)
OKLaboklab(37.32% 0.0444 -0.1242)
OKLCHoklch(37.32% 0.132 289.7)
XYZxyz(7.1189, 4.6705, 20.9443)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E80 #6C802E
analogous
#2E4380 #422E80 #6B2E80
triadic
#422E80 #80422E #2E8042
tetradic
#422E80 #802E43 #6C802E #2E806B
square
#422E80 #802E43 #6C802E #2E806B
split-complementary
#422E80 #806B2E #43802E
monochromatic
#140E26 #2B1E53 #422E80 #593EAD #7A62C7

Accessibility & contrast

On white

10.86
#422E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#422E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422E80
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E80#FFFFFF#000000##FFFFFF
##422E801.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#2E4152
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422e80;
/* rgb */ color: rgb(66, 46, 128);
/* oklch */ color: oklch(37.3% 0.132 289.7);
Tailwind
colors: {
  custom: {
    50: '#7c68a5',
    500: '#422e80',
    950: '#000000',
  },
}
SCSS
$custom: #422e80;
$custom-light: #7c68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#422e80",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 254.634,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37316,
    "c": 0.13188,
    "h": 289.7
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#422E80
secondary
#9AAD5D
accent
#D751B6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #422E80

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

Preview Lab → · Contrast checker → · Palette generator →

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