#422962#422962

#422962 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.1% C 0.098 H 301.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#422962
RGBrgb(66, 41, 98)
HSLhsl(266, 41%, 27%)
HSVhsv(266, 58%, 38%)
CMYKcmyk(32.7%, 58.2%, 0%, 61.6%)
CIE-LABlab(22.39, 24.85, -29.63)
CIE-LCHlch(22.39, 38.67, 309.99°)
OKLaboklab(34.14% 0.0516 -0.0836)
OKLCHoklch(34.14% 0.098 301.7)
XYZxyz(5.2438, 3.6260, 11.9765)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422962 #496229
analogous
#292D62 #422962 #5F2962
triadic
#422962 #624229 #296242
tetradic
#422962 #62292D #496229 #29625F
square
#422962 #62292D #496229 #29625F
split-complementary
#422962 #625F29 #2D6229
monochromatic
#0F0916 #251737 #422962 #5F3B8D #7C50B6

Accessibility & contrast

On white

12.17
#422962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#422962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422962
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422962#FFFFFF#000000##FFFFFF
##4229621.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133564
Deuteranopia (green-blind)
#1B3561
Tritanopia (blue-blind)
#3C3441
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #422962;
/* rgb */ color: rgb(66, 41, 98);
/* oklch */ color: oklch(34.1% 0.098 301.7);
Tailwind
colors: {
  custom: {
    50: '#79648f',
    500: '#422962',
    950: '#000000',
  },
}
SCSS
$custom: #422962;
$custom-light: #79648f;
$custom-dark: #000000;
JSON
{
  "hex": "#422962",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 266.316,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3414,
    "c": 0.09826,
    "h": 301.7
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#422962
secondary
#779552
accent
#D1579B
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #422962

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

Preview Lab → · Contrast checker → · Palette generator →

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