#422A68#422A68

#422A68 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.8% C 0.105 H 298.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#422A68
RGBrgb(66, 42, 104)
HSLhsl(263, 42%, 29%)
HSVhsv(263, 60%, 41%)
CMYKcmyk(36.5%, 59.6%, 0%, 59.2%)
CIE-LABlab(23.05, 25.95, -32.50)
CIE-LCHlch(23.05, 41.59, 308.60°)
OKLaboklab(34.75% 0.0503 -0.0921)
OKLCHoklch(34.75% 0.105 298.7)
XYZxyz(5.5728, 3.8136, 13.5365)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A68 #50682A
analogous
#2A3168 #422A68 #612A68
triadic
#422A68 #68422A #2A6842
tetradic
#422A68 #682A31 #50682A #2A6861
square
#422A68 #682A31 #50682A #2A6861
split-complementary
#422A68 #68612A #31682A
monochromatic
#0E0916 #26183C #422A68 #5E3C94 #7B53B9

Accessibility & contrast

On white

11.91
#422A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#422A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A68
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A68#FFFFFF#000000##FFFFFF
##422A681.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E376A
Deuteranopia (green-blind)
#173667
Tritanopia (blue-blind)
#3A3744
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422a68;
/* rgb */ color: rgb(66, 42, 104);
/* oklch */ color: oklch(34.8% 0.105 298.7);
Tailwind
colors: {
  custom: {
    50: '#796493',
    500: '#422a68',
    950: '#000000',
  },
}
SCSS
$custom: #422a68;
$custom-light: #796493;
$custom-dark: #000000;
JSON
{
  "hex": "#422a68",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 263.226,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34751,
    "c": 0.10491,
    "h": 298.7
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#422A68
secondary
#7F9A54
accent
#D256A2
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#09050D
muted
#7B7A7E

Preview Lab

Preview with #422A68

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

Preview Lab → · Contrast checker → · Palette generator →

#422A68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva