#422279#422279

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

Color values

HEX#422279
RGBrgb(66, 34, 121)
HSLhsl(262, 56%, 30%)
HSVhsv(262, 72%, 47%)
CMYKcmyk(45.5%, 71.9%, 0%, 52.5%)
CIE-LABlab(22.59, 35.67, -44.17)
CIE-LCHlch(22.59, 56.77, 308.93°)
OKLaboklab(34.84% 0.0589 -0.1263)
OKLCHoklch(34.84% 0.139 295)
XYZxyz(6.2691, 3.6826, 18.4660)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422279 #597922
analogous
#222D79 #422279 #6D2279
triadic
#422279 #794222 #227942
tetradic
#422279 #79222D #597922 #22796D
square
#422279 #79222D #597922 #22796D
split-complementary
#422279 #796D22 #2D7922
monochromatic
#0E0719 #281549 #422279 #5C2FA9 #7949CC

Accessibility & contrast

On white

12.09
#422279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#422279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422279
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422279#FFFFFF#000000##FFFFFF
##4222791.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#33374B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #422279;
/* rgb */ color: rgb(66, 34, 121);
/* oklch */ color: oklch(34.8% 0.139 295.0);
Tailwind
colors: {
  custom: {
    50: '#7c60a0',
    500: '#422279',
    950: '#000000',
  },
}
SCSS
$custom: #422279;
$custom-light: #7c60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422279",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 262.069,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3484,
    "c": 0.13937,
    "h": 295
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#422279
secondary
#88AC4B
accent
#DF48A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #422279

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

Preview Lab → · Contrast checker → · Palette generator →

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