#422779#422779

#422779 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.133 H 293.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#422779
RGBrgb(66, 39, 121)
HSLhsl(260, 51%, 31%)
HSVhsv(260, 68%, 47%)
CMYKcmyk(45.5%, 67.8%, 0%, 52.5%)
CIE-LABlab(23.64, 32.80, -42.47)
CIE-LCHlch(23.64, 53.66, 307.68°)
OKLaboklab(35.59% 0.0533 -0.1213)
OKLCHoklch(35.59% 0.133 293.7)
XYZxyz(6.4225, 3.9896, 18.5171)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422779 #5E7927
analogous
#273579 #422779 #6B2779
triadic
#422779 #794227 #277942
tetradic
#422779 #792735 #5E7927 #27796B
square
#422779 #792735 #5E7927 #27796B
split-complementary
#422779 #796B27 #357927
monochromatic
#10091C #29184B #422779 #5B36A7 #7953C8

Accessibility & contrast

On white

11.68
#422779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#422779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422779
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422779#FFFFFF#000000##FFFFFF
##4227791.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#333A4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422779;
/* rgb */ color: rgb(66, 39, 121);
/* oklch */ color: oklch(35.6% 0.133 293.7);
Tailwind
colors: {
  custom: {
    50: '#7b63a0',
    500: '#422779',
    950: '#000000',
  },
}
SCSS
$custom: #422779;
$custom-light: #7b63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422779",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 259.756,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.13253,
    "h": 293.7
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#422779
secondary
#8DAB51
accent
#DB4DAC
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #422779

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

Preview Lab → · Contrast checker → · Palette generator →

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