#422270#422270

#422270 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.128 H 298.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#422270
RGBrgb(66, 34, 112)
HSLhsl(265, 53%, 29%)
HSVhsv(265, 70%, 44%)
CMYKcmyk(41.1%, 69.6%, 0%, 56.1%)
CIE-LABlab(21.84, 33.08, -39.62)
CIE-LCHlch(21.84, 51.61, 309.86°)
OKLaboklab(34.07% 0.0603 -0.1129)
OKLCHoklch(34.07% 0.128 298.1)
XYZxyz(5.7427, 3.4721, 15.6937)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422270 #507022
analogous
#222970 #422270 #692270
triadic
#422270 #704222 #227042
tetradic
#422270 #702229 #507022 #227069
square
#422270 #702229 #507022 #227069
split-complementary
#422270 #706922 #297022
monochromatic
#0E0717 #261441 #422270 #5E309F #7B46C7

Accessibility & contrast

On white

12.39
#422270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#422270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422270
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422270#FFFFFF#000000##FFFFFF
##4222701.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#373446
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #422270;
/* rgb */ color: rgb(66, 34, 112);
/* oklch */ color: oklch(34.1% 0.128 298.1);
Tailwind
colors: {
  custom: {
    50: '#7b5f9a',
    500: '#422270',
    950: '#000000',
  },
}
SCSS
$custom: #422270;
$custom-light: #7b5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#422270",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 264.615,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34068,
    "c": 0.12804,
    "h": 298.1
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#422270
secondary
#7FA34A
accent
#DD4BA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422270

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

Preview Lab → · Contrast checker → · Palette generator →

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