#422752#422752

#422752 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.7% C 0.080 H 311.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#422752
RGBrgb(66, 39, 82)
HSLhsl(278, 36%, 24%)
HSVhsv(278, 52%, 32%)
CMYKcmyk(19.5%, 52.4%, 0%, 67.8%)
CIE-LABlab(20.90, 21.77, -21.41)
CIE-LCHlch(20.90, 30.53, 315.48°)
OKLaboklab(32.71% 0.0531 -0.0596)
OKLCHoklch(32.71% 0.08 311.7)
XYZxyz(4.4950, 3.2186, 8.3655)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422752 #375227
analogous
#2C2752 #422752 #52274C
triadic
#422752 #524227 #275242
tetradic
#422752 #522C27 #375227 #274C52
square
#422752 #522C27 #375227 #274C52
split-complementary
#422752 #4C5227 #27522C
monochromatic
#110A15 #211329 #422752 #633B7B #854EA5

Accessibility & contrast

On white

12.78
#422752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#422752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422752
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422752#FFFFFF#000000##FFFFFF
##4227521.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#253351
Tritanopia (blue-blind)
#402E38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422752;
/* rgb */ color: rgb(66, 39, 82);
/* oklch */ color: oklch(32.7% 0.080 311.7);
Tailwind
colors: {
  custom: {
    50: '#776283',
    500: '#422752',
    950: '#000000',
  },
}
SCSS
$custom: #422752;
$custom-light: #776283;
$custom-dark: #000000;
JSON
{
  "hex": "#422752",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 277.674,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32708,
    "c": 0.07984,
    "h": 311.7
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#422752
secondary
#648550
accent
#CC5C86
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050A
muted
#7B797C

Preview Lab

Preview with #422752

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

Preview Lab → · Contrast checker → · Palette generator →

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