#422786#422786

#422786 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.149 H 290.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#422786
RGBrgb(66, 39, 134)
HSLhsl(257, 55%, 34%)
HSVhsv(257, 71%, 53%)
CMYKcmyk(50.7%, 70.9%, 0%, 47.5%)
CIE-LABlab(24.73, 36.70, -48.88)
CIE-LCHlch(24.73, 61.13, 306.90°)
OKLaboklab(36.72% 0.0513 -0.1402)
OKLCHoklch(36.72% 0.149 290.1)
XYZxyz(7.2741, 4.3302, 23.0022)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422786 #6B8627
analogous
#273C86 #422786 #722786
triadic
#422786 #864227 #278642
tetradic
#422786 #86273C #6B8627 #278672
square
#422786 #86273C #6B8627 #278672
split-complementary
#422786 #867227 #3C8627
monochromatic
#130B27 #2B1957 #422786 #5935B5 #7A59CF

Accessibility & contrast

On white

11.25
#422786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#422786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422786
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422786#FFFFFF#000000##FFFFFF
##4227861.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#2B3F53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422786;
/* rgb */ color: rgb(66, 39, 134);
/* oklch */ color: oklch(36.7% 0.149 290.1);
Tailwind
colors: {
  custom: {
    50: '#7d63aa',
    500: '#422786',
    950: '#000000',
  },
}
SCSS
$custom: #422786;
$custom-light: #7d63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#422786",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 257.053,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.1493,
    "h": 290.1
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#422786
secondary
#99B455
accent
#DE4AB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #422786

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

Preview Lab → · Contrast checker → · Palette generator →

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