#422366#422366

#422366 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.114 H 301.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#422366
RGBrgb(66, 35, 102)
HSLhsl(268, 49%, 27%)
HSVhsv(268, 66%, 40%)
CMYKcmyk(35.3%, 65.7%, 0%, 60%)
CIE-LABlab(21.28, 29.67, -34.03)
CIE-LCHlch(21.28, 45.15, 311.08°)
OKLaboklab(33.42% 0.06 -0.0965)
OKLCHoklch(33.42% 0.114 301.9)
XYZxyz(5.2455, 3.3196, 12.9322)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422366 #476623
analogous
#232666 #422366 #642366
triadic
#422366 #664223 #236642
tetradic
#422366 #662326 #476623 #236664
square
#422366 #662326 #476623 #236664
split-complementary
#422366 #666423 #266623
monochromatic
#0F0817 #251338 #422366 #5F3394 #7D44BF

Accessibility & contrast

On white

12.62
#422366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#422366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422366
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422366#FFFFFF#000000##FFFFFF
##4223661.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#0D3365
Tritanopia (blue-blind)
#3B3141
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #422366;
/* rgb */ color: rgb(66, 35, 102);
/* oklch */ color: oklch(33.4% 0.114 301.9);
Tailwind
colors: {
  custom: {
    50: '#796092',
    500: '#422366',
    950: '#000000',
  },
}
SCSS
$custom: #422366;
$custom-light: #796092;
$custom-dark: #000000;
JSON
{
  "hex": "#422366",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 102
  },
  "hsl": {
    "h": 267.761,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33416,
    "c": 0.11367,
    "h": 301.9
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#422366
secondary
#759A4B
accent
#D84F99
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #422366

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

Preview Lab → · Contrast checker → · Palette generator →

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