#422671#422671

#422671 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.123 H 296.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#422671
RGBrgb(66, 38, 113)
HSLhsl(262, 50%, 30%)
HSVhsv(262, 66%, 44%)
CMYKcmyk(41.6%, 66.4%, 0%, 55.7%)
CIE-LABlab(22.78, 31.04, -38.74)
CIE-LCHlch(22.78, 49.64, 308.70°)
OKLaboklab(34.77% 0.0553 -0.1104)
OKLCHoklch(34.77% 0.123 296.6)
XYZxyz(5.9197, 3.7366, 16.0289)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422671 #557126
analogous
#263071 #422671 #682671
triadic
#422671 #714226 #267142
tetradic
#422671 #712630 #557126 #267168
square
#422671 #712630 #557126 #267168
split-complementary
#422671 #716826 #307126
monochromatic
#0D0817 #271743 #422671 #5D359F #7A4EC3

Accessibility & contrast

On white

12.02
#422671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#422671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422671
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422671#FFFFFF#000000##FFFFFF
##4226711.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#363747
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #422671;
/* rgb */ color: rgb(66, 38, 113);
/* oklch */ color: oklch(34.8% 0.123 296.6);
Tailwind
colors: {
  custom: {
    50: '#7a629a',
    500: '#422671',
    950: '#000000',
  },
}
SCSS
$custom: #422671;
$custom-light: #7a629a;
$custom-dark: #000000;
JSON
{
  "hex": "#422671",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 262.4,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34769,
    "c": 0.12348,
    "h": 296.6
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#422671
secondary
#84A44F
accent
#D94FA5
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422671

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

Preview Lab → · Contrast checker → · Palette generator →

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