#422362#422362

#422362 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.1% C 0.108 H 303.7°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#422362
RGBrgb(66, 35, 98)
HSLhsl(270, 47%, 26%)
HSVhsv(270, 64%, 38%)
CMYKcmyk(32.7%, 64.3%, 0%, 61.6%)
CIE-LABlab(20.99, 28.56, -31.88)
CIE-LCHlch(20.99, 42.80, 311.85°)
OKLaboklab(33.11% 0.0602 -0.0902)
OKLCHoklch(33.11% 0.108 303.7)
XYZxyz(5.0519, 3.2422, 11.9126)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422362 #436223
analogous
#232362 #422362 #612362
triadic
#422362 #624223 #236242
tetradic
#422362 #622323 #436223 #236261
square
#422362 #622323 #436223 #236261
split-complementary
#422362 #626123 #236223
monochromatic
#0F0817 #241335 #422362 #60338F #7F43BC

Accessibility & contrast

On white

12.74
#422362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#422362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422362
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422362#FFFFFF#000000##FFFFFF
##4223621.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033264
Deuteranopia (green-blind)
#133261
Tritanopia (blue-blind)
#3C303F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422362;
/* rgb */ color: rgb(66, 35, 98);
/* oklch */ color: oklch(33.1% 0.108 303.7);
Tailwind
colors: {
  custom: {
    50: '#79608f',
    500: '#422362',
    950: '#000000',
  },
}
SCSS
$custom: #422362;
$custom-light: #79608f;
$custom-dark: #000000;
JSON
{
  "hex": "#422362",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 269.524,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3311,
    "c": 0.10846,
    "h": 303.7
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#422362
secondary
#71964B
accent
#D75195
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #422362

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

Preview Lab → · Contrast checker → · Palette generator →

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