#4223AE#4223AE

#4223AE is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.1% C 0.202 H 282.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4223AE
RGBrgb(66, 35, 174)
HSLhsl(253, 67%, 41%)
HSVhsv(253, 80%, 68%)
CMYKcmyk(62.1%, 79.9%, 0%, 31.8%)
CIE-LABlab(27.89, 50.63, -68.20)
CIE-LCHlch(27.89, 84.94, 306.59°)
OKLaboklab(40.12% 0.0442 -0.1967)
OKLCHoklch(40.12% 0.202 282.7)
XYZxyz(10.4854, 5.4156, 40.5290)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223AE #8FAE23
analogous
#234AAE #4223AE #8723AE
triadic
#4223AE #AE4223 #23AE42
tetradic
#4223AE #AE234A #8FAE23 #23AE87
square
#4223AE #AE234A #8FAE23 #23AE87
split-complementary
#4223AE #AE8723 #4AAE23
monochromatic
#1B0F48 #2F197B #4223AE #5B37D7 #856AE1

Accessibility & contrast

On white

10.08
#4223AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4223AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223AE
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223AE#FFFFFF#000000##FFFFFF
##4223AE1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4223ae;
/* rgb */ color: rgb(66, 35, 174);
/* oklch */ color: oklch(40.1% 0.202 282.7);
Tailwind
colors: {
  custom: {
    50: '#8563c7',
    500: '#4223ae',
    950: '#000000',
  },
}
SCSS
$custom: #4223ae;
$custom-light: #8563c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4223ae",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 253.381,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.2016,
    "h": 282.7
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#4223AE
secondary
#B1C766
accent
#E93EC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4223AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4223AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva