#422960#422960

#422960 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.0% C 0.095 H 302.6°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#422960
RGBrgb(66, 41, 96)
HSLhsl(267, 40%, 27%)
HSVhsv(267, 57%, 38%)
CMYKcmyk(31.3%, 57.3%, 0%, 62.4%)
CIE-LABlab(22.26, 24.28, -28.53)
CIE-LCHlch(22.26, 37.47, 310.41°)
OKLaboklab(34% 0.0515 -0.0804)
OKLCHoklch(34% 0.095 302.6)
XYZxyz(5.1505, 3.5887, 11.4854)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422960 #476029
analogous
#292C60 #422960 #5E2960
triadic
#422960 #604229 #296042
tetradic
#422960 #60292C #476029 #29605E
square
#422960 #60292C #476029 #29605E
split-complementary
#422960 #605E29 #2C6029
monochromatic
#0F0915 #251735 #422960 #5F3B8B #7D4FB4

Accessibility & contrast

On white

12.22
#422960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#422960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422960
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422960#FFFFFF#000000##FFFFFF
##4229601.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#1D355F
Tritanopia (blue-blind)
#3C3340
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #422960;
/* rgb */ color: rgb(66, 41, 96);
/* oklch */ color: oklch(34.0% 0.095 302.6);
Tailwind
colors: {
  custom: {
    50: '#78638d',
    500: '#422960',
    950: '#000000',
  },
}
SCSS
$custom: #422960;
$custom-light: #78638d;
$custom-dark: #000000;
JSON
{
  "hex": "#422960",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 267.273,
    "s": 40.146,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34,
    "c": 0.09547,
    "h": 302.6
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#422960
secondary
#759352
accent
#D05899
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #422960

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

Preview Lab → · Contrast checker → · Palette generator →

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