#422167#422167

#422167 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.2% C 0.118 H 302.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#422167
RGBrgb(66, 33, 103)
HSLhsl(268, 51%, 27%)
HSVhsv(268, 68%, 40%)
CMYKcmyk(35.9%, 68%, 0%, 59.6%)
CIE-LABlab(20.92, 31.12, -35.26)
CIE-LCHlch(20.92, 47.03, 311.43°)
OKLaboklab(33.18% 0.0626 -0.1001)
OKLCHoklch(33.18% 0.118 302)
XYZxyz(5.2382, 3.2252, 13.1759)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422167 #466721
analogous
#212367 #422167 #652167
triadic
#422167 #674221 #216742
tetradic
#422167 #672123 #466721 #216765
square
#422167 #672123 #466721 #216765
split-complementary
#422167 #676521 #236721
monochromatic
#0F0717 #241239 #422167 #603095 #7E40C2

Accessibility & contrast

On white

12.77
#422167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422167
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422167#FFFFFF#000000##FFFFFF
##4221671.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#073265
Tritanopia (blue-blind)
#3A3040
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422167;
/* rgb */ color: rgb(66, 33, 103);
/* oklch */ color: oklch(33.2% 0.118 302.0);
Tailwind
colors: {
  custom: {
    50: '#7a5e93',
    500: '#422167',
    950: '#000000',
  },
}
SCSS
$custom: #422167;
$custom-light: #7a5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#422167",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 268.286,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.11808,
    "h": 302
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#422167
secondary
#749B49
accent
#DB4D98
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #422167

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

Preview Lab → · Contrast checker → · Palette generator →

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