#422376#422376

#422376 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.134 H 295.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#422376
RGBrgb(66, 35, 118)
HSLhsl(262, 54%, 30%)
HSVhsv(262, 70%, 46%)
CMYKcmyk(44.1%, 70.3%, 0%, 53.7%)
CIE-LABlab(22.54, 34.24, -42.33)
CIE-LCHlch(22.54, 54.45, 308.97°)
OKLaboklab(34.73% 0.0583 -0.1209)
OKLCHoklch(34.73% 0.134 295.7)
XYZxyz(6.1169, 3.6682, 17.5218)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422376 #577623
analogous
#232D76 #422376 #6C2376
triadic
#422376 #764223 #237642
tetradic
#422376 #76232D #577623 #23766C
square
#422376 #76232D #577623 #23766C
split-complementary
#422376 #766C23 #2D7623
monochromatic
#0D0718 #281547 #422376 #5C31A5 #7A4AC9

Accessibility & contrast

On white

12.11
#422376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#422376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422376
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422376#FFFFFF#000000##FFFFFF
##4223761.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#343749
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #422376;
/* rgb */ color: rgb(66, 35, 118);
/* oklch */ color: oklch(34.7% 0.134 295.7);
Tailwind
colors: {
  custom: {
    50: '#7b609e',
    500: '#422376',
    950: '#000000',
  },
}
SCSS
$custom: #422376;
$custom-light: #7b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#422376",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 262.41,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.34725,
    "c": 0.13425,
    "h": 295.7
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#422376
secondary
#86A94C
accent
#DE4AA7
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422376

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

Preview Lab → · Contrast checker → · Palette generator →

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