#422175#422175

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

Color values

HEX#422175
RGBrgb(66, 33, 117)
HSLhsl(264, 56%, 29%)
HSVhsv(264, 72%, 46%)
CMYKcmyk(43.6%, 71.8%, 0%, 54.1%)
CIE-LABlab(22.05, 35.07, -42.49)
CIE-LCHlch(22.05, 55.09, 309.54°)
OKLaboklab(34.35% 0.0607 -0.1214)
OKLCHoklch(34.35% 0.136 296.6)
XYZxyz(6.0007, 3.5302, 17.1914)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422175 #547521
analogous
#212A75 #422175 #6C2175
triadic
#422175 #754221 #217542
tetradic
#422175 #75212A #547521 #21756C
square
#422175 #75212A #547521 #21756C
split-complementary
#422175 #756C21 #2A7521
monochromatic
#0D0718 #271445 #422175 #5D2EA5 #7A46CB

Accessibility & contrast

On white

12.31
#422175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422175
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422175#FFFFFF#000000##FFFFFF
##4221751.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#353548
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #422175;
/* rgb */ color: rgb(66, 33, 117);
/* oklch */ color: oklch(34.3% 0.136 296.6);
Tailwind
colors: {
  custom: {
    50: '#7b5f9d',
    500: '#422175',
    950: '#000000',
  },
}
SCSS
$custom: #422175;
$custom-light: #7b5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#422175",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 263.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34348,
    "c": 0.13571,
    "h": 296.6
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#422175
secondary
#83A84A
accent
#DF49A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #422175

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

Preview Lab → · Contrast checker → · Palette generator →

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