#4223B1#4223B1

#4223B1 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.205 H 282.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4223B1
RGBrgb(66, 35, 177)
HSLhsl(253, 67%, 42%)
HSVhsv(253, 80%, 69%)
CMYKcmyk(62.7%, 80.2%, 0%, 30.6%)
CIE-LABlab(28.20, 51.50, -69.47)
CIE-LCHlch(28.20, 86.48, 306.55°)
OKLaboklab(40.43% 0.0432 -0.2004)
OKLCHoklch(40.43% 0.205 282.2)
XYZxyz(10.7811, 5.5339, 42.0865)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223B1 #92B123
analogous
#234BB1 #4223B1 #8923B1
triadic
#4223B1 #B14223 #23B142
tetradic
#4223B1 #B1234B #92B123 #23B189
square
#4223B1 #B1234B #92B123 #23B189
split-complementary
#4223B1 #B18923 #4BB123
monochromatic
#1C0F4B #2F197E #4223B1 #5C39D8 #866CE2

Accessibility & contrast

On white

9.97
#4223B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4223B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223B1
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223B1#FFFFFF#000000##FFFFFF
##4223B11.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4223b1;
/* rgb */ color: rgb(66, 35, 177);
/* oklch */ color: oklch(40.4% 0.205 282.2);
Tailwind
colors: {
  custom: {
    50: '#8563ca',
    500: '#4223b1',
    950: '#000000',
  },
}
SCSS
$custom: #4223b1;
$custom-light: #8563ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4223b1",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 253.099,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.20502,
    "h": 282.2
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#4223B1
secondary
#B3C868
accent
#EA3EC4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4223B1

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

Preview Lab → · Contrast checker → · Palette generator →

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