#422776#422776

#422776 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.129 H 294.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#422776
RGBrgb(66, 39, 118)
HSLhsl(261, 50%, 31%)
HSVhsv(261, 67%, 46%)
CMYKcmyk(44.1%, 66.9%, 0%, 53.7%)
CIE-LABlab(23.40, 31.91, -40.95)
CIE-LCHlch(23.40, 51.91, 307.93°)
OKLaboklab(35.34% 0.0536 -0.1169)
OKLCHoklch(35.34% 0.129 294.6)
XYZxyz(6.2414, 3.9171, 17.5633)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422776 #5B7627
analogous
#273476 #422776 #692776
triadic
#422776 #764227 #277642
tetradic
#422776 #762734 #5B7627 #277669
square
#422776 #762734 #5B7627 #277669
split-complementary
#422776 #766927 #347627
monochromatic
#0F091A #281848 #422776 #5C36A4 #7952C6

Accessibility & contrast

On white

11.78
#422776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#422776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422776
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422776#FFFFFF#000000##FFFFFF
##4227761.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#34394A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422776;
/* rgb */ color: rgb(66, 39, 118);
/* oklch */ color: oklch(35.3% 0.129 294.6);
Tailwind
colors: {
  custom: {
    50: '#7b639e',
    500: '#422776',
    950: '#000000',
  },
}
SCSS
$custom: #422776;
$custom-light: #7b639e;
$custom-dark: #000000;
JSON
{
  "hex": "#422776",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 260.506,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35339,
    "c": 0.12859,
    "h": 294.6
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#422776
secondary
#8AA851
accent
#DA4EAA
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422776

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

Preview Lab → · Contrast checker → · Palette generator →

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