#422250#422250

#422250 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.7% C 0.087 H 314.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#422250
RGBrgb(66, 34, 80)
HSLhsl(282, 40%, 22%)
HSVhsv(282, 58%, 31%)
CMYKcmyk(17.5%, 57.5%, 0%, 68.6%)
CIE-LABlab(19.56, 24.41, -22.17)
CIE-LCHlch(19.56, 32.97, 317.75°)
OKLaboklab(31.68% 0.061 -0.0618)
OKLCHoklch(31.68% 0.087 314.6)
XYZxyz(4.2665, 2.8816, 7.9193)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422250 #305022
analogous
#2B2250 #422250 #502247
triadic
#422250 #504222 #225042
tetradic
#422250 #502B22 #305022 #224750
square
#422250 #502B22 #305022 #224750
split-complementary
#422250 #475022 #22502B
monochromatic
#120915 #1F1025 #422250 #65347B #8947A6

Accessibility & contrast

On white

13.32
#422250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#422250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422250
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422250#FFFFFF#000000##FFFFFF
##4222501.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D52
Deuteranopia (green-blind)
#21304F
Tritanopia (blue-blind)
#412935
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #422250;
/* rgb */ color: rgb(66, 34, 80);
/* oklch */ color: oklch(31.7% 0.087 314.6);
Tailwind
colors: {
  custom: {
    50: '#785e81',
    500: '#422250',
    950: '#000000',
  },
}
SCSS
$custom: #422250;
$custom-light: #785e81;
$custom-dark: #000000;
JSON
{
  "hex": "#422250",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 281.739,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31679,
    "c": 0.08683,
    "h": 314.6
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#422250
secondary
#5C844A
accent
#D0587C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #422250

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

Preview Lab → · Contrast checker → · Palette generator →

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