#422273#422273

#422273 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.132 H 297.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#422273
RGBrgb(66, 34, 115)
HSLhsl(264, 54%, 29%)
HSVhsv(264, 70%, 45%)
CMYKcmyk(42.6%, 70.4%, 0%, 54.9%)
CIE-LABlab(22.09, 33.94, -41.15)
CIE-LCHlch(22.09, 53.34, 309.52°)
OKLaboklab(34.32% 0.0599 -0.1175)
OKLCHoklch(34.32% 0.132 297)
XYZxyz(5.9125, 3.5400, 16.5881)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422273 #537322
analogous
#222B73 #422273 #6B2273
triadic
#422273 #734222 #227342
tetradic
#422273 #73222B #537322 #22736B
square
#422273 #73222B #537322 #22736B
split-complementary
#422273 #736B22 #2B7322
monochromatic
#0E0718 #271444 #422273 #5D30A2 #7A47C9

Accessibility & contrast

On white

12.30
#422273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#422273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422273
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422273#FFFFFF#000000##FFFFFF
##4222731.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#363547
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #422273;
/* rgb */ color: rgb(66, 34, 115);
/* oklch */ color: oklch(34.3% 0.132 297.0);
Tailwind
colors: {
  custom: {
    50: '#7b5f9c',
    500: '#422273',
    950: '#000000',
  },
}
SCSS
$custom: #422273;
$custom-light: #7b5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#422273",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 263.704,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34321,
    "c": 0.13184,
    "h": 297
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#422273
secondary
#82A64B
accent
#DE4AA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422273

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

Preview Lab → · Contrast checker → · Palette generator →

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