#4223BA#4223BA

#4223BA is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.215 H 280.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4223BA
RGBrgb(66, 35, 186)
HSLhsl(252, 68%, 43%)
HSVhsv(252, 81%, 73%)
CMYKcmyk(64.5%, 81.2%, 0%, 27.1%)
CIE-LABlab(29.17, 54.08, -73.24)
CIE-LCHlch(29.17, 91.04, 306.44°)
OKLaboklab(41.38% 0.0404 -0.2114)
OKLCHoklch(41.38% 0.215 280.8)
XYZxyz(11.7079, 5.9046, 46.9676)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223BA #9BBA23
analogous
#234FBA #4223BA #8D23BA
triadic
#4223BA #BA4223 #23BA42
tetradic
#4223BA #BA234F #9BBA23 #23BA8D
square
#4223BA #BA234F #9BBA23 #23BA8D
split-complementary
#4223BA #BA8D23 #4FBA23
monochromatic
#1D1053 #301986 #4223BA #5F3FDB #8A73E5

Accessibility & contrast

On white

9.63
#4223BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4223BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223BA
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223BA#FFFFFF#000000##FFFFFF
##4223BA1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4223ba;
/* rgb */ color: rgb(66, 35, 186);
/* oklch */ color: oklch(41.4% 0.215 280.8);
Tailwind
colors: {
  custom: {
    50: '#8764d0',
    500: '#4223ba',
    950: '#000000',
  },
}
SCSS
$custom: #4223ba;
$custom-light: #8764d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4223ba",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 252.318,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.2152,
    "h": 280.8
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#4223BA
secondary
#B8CC6D
accent
#EB3DC7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4223BA

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

Preview Lab → · Contrast checker → · Palette generator →

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