#422253#422253

#422253 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.091 H 312.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#422253
RGBrgb(66, 34, 83)
HSLhsl(279, 42%, 23%)
HSVhsv(279, 59%, 33%)
CMYKcmyk(20.5%, 59%, 0%, 67.5%)
CIE-LABlab(19.75, 25.17, -23.90)
CIE-LCHlch(19.75, 34.71, 316.49°)
OKLaboklab(31.88% 0.0613 -0.0668)
OKLCHoklch(31.88% 0.091 312.5)
XYZxyz(4.3799, 2.9269, 8.5162)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422253 #335322
analogous
#2A2253 #422253 #53224B
triadic
#422253 #534222 #225342
tetradic
#422253 #532A22 #335322 #224B53
square
#422253 #532A22 #335322 #224B53
split-complementary
#422253 #4B5322 #22532A
monochromatic
#110916 #1F1028 #422253 #65347E #8746AA

Accessibility & contrast

On white

13.25
#422253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422253
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422253#FFFFFF#000000##FFFFFF
##4222531.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E55
Deuteranopia (green-blind)
#1F3052
Tritanopia (blue-blind)
#402A37
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #422253;
/* rgb */ color: rgb(66, 34, 83);
/* oklch */ color: oklch(31.9% 0.091 312.5);
Tailwind
colors: {
  custom: {
    50: '#785e83',
    500: '#422253',
    950: '#000000',
  },
}
SCSS
$custom: #422253;
$custom-light: #785e83;
$custom-dark: #000000;
JSON
{
  "hex": "#422253",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 279.184,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31876,
    "c": 0.09067,
    "h": 312.5
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#422253
secondary
#5F874A
accent
#D25681
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #422253

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

Preview Lab → · Contrast checker → · Palette generator →

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