#422352#422352

#422352 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.088 H 312.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#422352
RGBrgb(66, 35, 82)
HSLhsl(280, 40%, 23%)
HSVhsv(280, 57%, 32%)
CMYKcmyk(19.5%, 57.3%, 0%, 67.8%)
CIE-LABlab(19.92, 24.29, -22.95)
CIE-LCHlch(19.92, 33.42, 316.63°)
OKLaboklab(31.98% 0.0596 -0.0641)
OKLCHoklch(31.98% 0.088 312.9)
XYZxyz(4.3705, 2.9696, 8.3240)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422352 #335223
analogous
#2A2352 #422352 #52234A
triadic
#422352 #524223 #235242
tetradic
#422352 #522A23 #335223 #234A52
square
#422352 #522A23 #335223 #234A52
split-complementary
#422352 #4A5223 #23522A
monochromatic
#110915 #1F1127 #422352 #65357D #8748A8

Accessibility & contrast

On white

13.17
#422352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#422352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422352
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422352#FFFFFF#000000##FFFFFF
##4223521.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#402B36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #422352;
/* rgb */ color: rgb(66, 35, 82);
/* oklch */ color: oklch(32.0% 0.088 312.9);
Tailwind
colors: {
  custom: {
    50: '#785f83',
    500: '#422352',
    950: '#000000',
  },
}
SCSS
$custom: #422352;
$custom-light: #785f83;
$custom-dark: #000000;
JSON
{
  "hex": "#422352",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 279.574,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31983,
    "c": 0.08751,
    "h": 312.9
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#422352
secondary
#5F864B
accent
#D05881
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #422352

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

Preview Lab → · Contrast checker → · Palette generator →

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