#422264#422264

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

Color values

HEX#422264
RGBrgb(66, 34, 100)
HSLhsl(269, 49%, 26%)
HSVhsv(269, 66%, 39%)
CMYKcmyk(34%, 66%, 0%, 60.8%)
CIE-LABlab(20.91, 29.71, -33.32)
CIE-LCHlch(20.91, 44.64, 311.72°)
OKLaboklab(33.1% 0.0615 -0.0944)
OKLCHoklch(33.1% 0.113 303.1)
XYZxyz(5.1185, 3.2224, 12.4064)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422264 #446422
analogous
#222364 #422264 #632264
triadic
#422264 #644222 #226442
tetradic
#422264 #642223 #446422 #226463
square
#422264 #642223 #446422 #226463
split-complementary
#422264 #646322 #236422
monochromatic
#0F0817 #241236 #422264 #603292 #7E42BF

Accessibility & contrast

On white

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

On black

1.64
#422264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##422264#FFFFFF#000000##FFFFFF
##4222641.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#0F3263
Tritanopia (blue-blind)
#3B303F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422264;
/* rgb */ color: rgb(66, 34, 100);
/* oklch */ color: oklch(33.1% 0.113 303.1);
Tailwind
colors: {
  custom: {
    50: '#795f91',
    500: '#422264',
    950: '#000000',
  },
}
SCSS
$custom: #422264;
$custom-light: #795f91;
$custom-dark: #000000;
JSON
{
  "hex": "#422264",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 269.091,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33102,
    "c": 0.11267,
    "h": 303.1
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#422264
secondary
#72984A
accent
#D94F96
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09050D
muted
#7B797D

Preview Lab

Preview with #422264

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

Preview Lab → · Contrast checker → · Palette generator →

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