#422656#422656

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

Color values

HEX#422656
RGBrgb(66, 38, 86)
HSLhsl(275, 39%, 24%)
HSVhsv(275, 56%, 34%)
CMYKcmyk(23.3%, 55.8%, 0%, 66.3%)
CIE-LABlab(20.89, 23.46, -24.09)
CIE-LCHlch(20.89, 33.63, 314.23°)
OKLaboklab(32.78% 0.0552 -0.0674)
OKLCHoklch(32.78% 0.087 309.3)
XYZxyz(4.6193, 3.2164, 9.1798)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422656 #3A5626
analogous
#2A2656 #422656 #562652
triadic
#422656 #564226 #265642
tetradic
#422656 #562A26 #3A5626 #265256
square
#422656 #562A26 #3A5626 #265256
split-complementary
#422656 #525626 #26562A
monochromatic
#100915 #21132C #422656 #633980 #834CAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422656#FFFFFF#000000##FFFFFF
##4226561.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)
#193158
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#3F2E3A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422656;
/* rgb */ color: rgb(66, 38, 86);
/* oklch */ color: oklch(32.8% 0.087 309.3);
Tailwind
colors: {
  custom: {
    50: '#786186',
    500: '#422656',
    950: '#000000',
  },
}
SCSS
$custom: #422656;
$custom-light: #786186;
$custom-dark: #000000;
JSON
{
  "hex": "#422656",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 86
  },
  "hsl": {
    "h": 275,
    "s": 38.71,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3278,
    "c": 0.08718,
    "h": 309.3
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#422656
secondary
#67894F
accent
#CF598A
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #422656

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

Preview Lab → · Contrast checker → · Palette generator →

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