#4223B5#4223B5

#4223B5 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.210 H 281.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4223B5
RGBrgb(66, 35, 181)
HSLhsl(253, 68%, 42%)
HSVhsv(253, 81%, 71%)
CMYKcmyk(63.5%, 80.7%, 0%, 29%)
CIE-LABlab(28.63, 52.65, -71.16)
CIE-LCHlch(28.63, 88.52, 306.50°)
OKLaboklab(40.85% 0.042 -0.2053)
OKLCHoklch(40.85% 0.21 281.6)
XYZxyz(11.1857, 5.6957, 44.2170)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223B5 #96B523
analogous
#234DB5 #4223B5 #8B23B5
triadic
#4223B5 #B54223 #23B542
tetradic
#4223B5 #B5234D #96B523 #23B58B
square
#4223B5 #B5234D #96B523 #23B58B
split-complementary
#4223B5 #B58B23 #4DB523
monochromatic
#1D0F4E #2F1982 #4223B5 #5D3CD9 #886FE3

Accessibility & contrast

On white

9.82
#4223B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4223B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223B5
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223B5#FFFFFF#000000##FFFFFF
##4223B51.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4223b5;
/* rgb */ color: rgb(66, 35, 181);
/* oklch */ color: oklch(40.9% 0.210 281.6);
Tailwind
colors: {
  custom: {
    50: '#8663cd',
    500: '#4223b5',
    950: '#000000',
  },
}
SCSS
$custom: #4223b5;
$custom-light: #8663cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4223b5",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 181
  },
  "hsl": {
    "h": 252.74,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40851,
    "c": 0.20956,
    "h": 281.6
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#4223B5
secondary
#B5CA6A
accent
#EA3DC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4223B5

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

Preview Lab → · Contrast checker → · Palette generator →

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