#422692#422692

#422692 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.165 H 287.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#422692
RGBrgb(66, 38, 146)
HSLhsl(256, 59%, 36%)
HSVhsv(256, 74%, 57%)
CMYKcmyk(54.8%, 74%, 0%, 42.7%)
CIE-LABlab(25.62, 40.87, -54.89)
CIE-LCHlch(25.62, 68.44, 306.67°)
OKLaboklab(37.69% 0.0497 -0.1578)
OKLCHoklch(37.69% 0.165 287.5)
XYZxyz(8.1267, 4.6194, 27.6520)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422692 #769226
analogous
#264092 #422692 #782692
triadic
#422692 #924226 #269242
tetradic
#422692 #922640 #769226 #269278
square
#422692 #922640 #769226 #269278
split-complementary
#422692 #927826 #409226
monochromatic
#160D31 #2C1961 #422692 #5833C3 #7C5DD5

Accessibility & contrast

On white

10.91
#422692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#422692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422692
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422692#FFFFFF#000000##FFFFFF
##4226921.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#214359
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422692;
/* rgb */ color: rgb(66, 38, 146);
/* oklch */ color: oklch(37.7% 0.165 287.5);
Tailwind
colors: {
  custom: {
    50: '#7f63b3',
    500: '#422692',
    950: '#000000',
  },
}
SCSS
$custom: #422692;
$custom-light: #7f63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#422692",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 255.556,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.16548,
    "h": 287.5
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#422692
secondary
#A1BA5A
accent
#E246B9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422692

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

Preview Lab → · Contrast checker → · Palette generator →

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