#422673#422673

#422673 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.126 H 295.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#422673
RGBrgb(66, 38, 115)
HSLhsl(262, 50%, 30%)
HSVhsv(262, 67%, 45%)
CMYKcmyk(42.6%, 67%, 0%, 54.9%)
CIE-LABlab(22.94, 31.62, -39.77)
CIE-LCHlch(22.94, 50.81, 308.49°)
OKLaboklab(34.93% 0.0551 -0.1134)
OKLCHoklch(34.93% 0.126 295.9)
XYZxyz(6.0336, 3.7822, 16.6285)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422673 #577326
analogous
#263173 #422673 #682673
triadic
#422673 #734226 #267342
tetradic
#422673 #732631 #577326 #267368
square
#422673 #732631 #577326 #267368
split-complementary
#422673 #736826 #317326
monochromatic
#0D0817 #281745 #422673 #5C35A1 #7A4FC5

Accessibility & contrast

On white

11.96
#422673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#422673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422673
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422673#FFFFFF#000000##FFFFFF
##4226731.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#363849
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422673;
/* rgb */ color: rgb(66, 38, 115);
/* oklch */ color: oklch(34.9% 0.126 295.9);
Tailwind
colors: {
  custom: {
    50: '#7b629c',
    500: '#422673',
    950: '#000000',
  },
}
SCSS
$custom: #422673;
$custom-light: #7b629c;
$custom-dark: #000000;
JSON
{
  "hex": "#422673",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 261.818,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.34933,
    "c": 0.12611,
    "h": 295.9
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#422673
secondary
#86A64F
accent
#DA4EA7
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422673

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

Preview Lab → · Contrast checker → · Palette generator →

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