#422657#422657

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

Color values

HEX#422657
RGBrgb(66, 38, 87)
HSLhsl(274, 39%, 25%)
HSVhsv(274, 56%, 34%)
CMYKcmyk(24.1%, 56.3%, 0%, 65.9%)
CIE-LABlab(20.95, 23.72, -24.66)
CIE-LCHlch(20.95, 34.22, 313.88°)
OKLaboklab(32.85% 0.0553 -0.0691)
OKLCHoklch(32.85% 0.089 308.7)
XYZxyz(4.6598, 3.2327, 9.3935)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422657 #3B5726
analogous
#2A2657 #422657 #572654
triadic
#422657 #574226 #265742
tetradic
#422657 #572A26 #3B5726 #265457
square
#422657 #572A26 #3B5726 #265457
split-complementary
#422657 #545726 #26572A
monochromatic
#100915 #22132C #422657 #623982 #834BAC

Accessibility & contrast

On white

12.75
#422657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#422657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422657
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422657#FFFFFF#000000##FFFFFF
##4226571.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183159
Deuteranopia (green-blind)
#213356
Tritanopia (blue-blind)
#3F2E3A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422657;
/* rgb */ color: rgb(66, 38, 87);
/* oklch */ color: oklch(32.8% 0.089 308.7);
Tailwind
colors: {
  custom: {
    50: '#786186',
    500: '#422657',
    950: '#000000',
  },
}
SCSS
$custom: #422657;
$custom-light: #786186;
$custom-dark: #000000;
JSON
{
  "hex": "#422657",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 87
  },
  "hsl": {
    "h": 274.286,
    "s": 39.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32846,
    "c": 0.08853,
    "h": 308.7
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#422657
secondary
#688A4F
accent
#CF598B
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #422657

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

Preview Lab → · Contrast checker → · Palette generator →

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