#422792#422792

#422792 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.164 H 287.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#422792
RGBrgb(66, 39, 146)
HSLhsl(255, 58%, 36%)
HSVhsv(255, 73%, 57%)
CMYKcmyk(54.8%, 73.3%, 0%, 42.7%)
CIE-LABlab(25.82, 40.33, -54.57)
CIE-LCHlch(25.82, 67.86, 306.46°)
OKLaboklab(37.82% 0.0489 -0.1569)
OKLCHoklch(37.82% 0.164 287.3)
XYZxyz(8.1591, 4.6842, 27.6628)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422792 #779227
analogous
#274292 #422792 #782792
triadic
#422792 #924227 #279242
tetradic
#422792 #922742 #779227 #279278
square
#422792 #922742 #779227 #279278
split-complementary
#422792 #927827 #429227
monochromatic
#160D31 #2C1A62 #422792 #5834C2 #7D5FD4

Accessibility & contrast

On white

10.84
#422792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#422792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422792
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422792#FFFFFF#000000##FFFFFF
##4227921.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#21445A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422792;
/* rgb */ color: rgb(66, 39, 146);
/* oklch */ color: oklch(37.8% 0.164 287.3);
Tailwind
colors: {
  custom: {
    50: '#7f64b3',
    500: '#422792',
    950: '#000000',
  },
}
SCSS
$custom: #422792;
$custom-light: #7f64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#422792",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 255.14,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37824,
    "c": 0.16434,
    "h": 287.3
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#422792
secondary
#A2BA5B
accent
#E147BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422792

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

Preview Lab → · Contrast checker → · Palette generator →

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