#422263#422263

#422263 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.111 H 303.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#422263
RGBrgb(66, 34, 99)
HSLhsl(270, 49%, 26%)
HSVhsv(270, 66%, 39%)
CMYKcmyk(33.3%, 65.7%, 0%, 61.2%)
CIE-LABlab(20.84, 29.43, -32.78)
CIE-LCHlch(20.84, 44.05, 311.92°)
OKLaboklab(33.03% 0.0615 -0.0928)
OKLCHoklch(33.03% 0.111 303.5)
XYZxyz(5.0704, 3.2032, 12.1531)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422263 #436322
analogous
#222363 #422263 #622263
triadic
#422263 #634222 #226342
tetradic
#422263 #632223 #436322 #226362
square
#422263 #632223 #436322 #226362
split-complementary
#422263 #636222 #236322
monochromatic
#0F0817 #241235 #422263 #603291 #7F41BE

Accessibility & contrast

On white

12.80
#422263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422263
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422263#FFFFFF#000000##FFFFFF
##4222631.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#103262
Tritanopia (blue-blind)
#3C303F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422263;
/* rgb */ color: rgb(66, 34, 99);
/* oklch */ color: oklch(33.0% 0.111 303.5);
Tailwind
colors: {
  custom: {
    50: '#795f90',
    500: '#422263',
    950: '#000000',
  },
}
SCSS
$custom: #422263;
$custom-light: #795f90;
$custom-dark: #000000;
JSON
{
  "hex": "#422263",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 269.538,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33025,
    "c": 0.11138,
    "h": 303.5
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#422263
secondary
#71974A
accent
#D84F95
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #422263

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

Preview Lab → · Contrast checker → · Palette generator →

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