#4223B2#4223B2

#4223B2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.206 H 282.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4223B2
RGBrgb(66, 35, 178)
HSLhsl(253, 67%, 42%)
HSVhsv(253, 80%, 70%)
CMYKcmyk(62.9%, 80.3%, 0%, 30.2%)
CIE-LABlab(28.31, 51.79, -69.90)
CIE-LCHlch(28.31, 86.99, 306.54°)
OKLaboklab(40.53% 0.0429 -0.2016)
OKLCHoklch(40.53% 0.206 282)
XYZxyz(10.8812, 5.5739, 42.6133)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223B2 #93B223
analogous
#234CB2 #4223B2 #8A23B2
triadic
#4223B2 #B24223 #23B242
tetradic
#4223B2 #B2234C #93B223 #23B28A
square
#4223B2 #B2234C #93B223 #23B28A
split-complementary
#4223B2 #B28A23 #4CB223
monochromatic
#1C0F4C #2F197F #4223B2 #5C3AD8 #876DE2

Accessibility & contrast

On white

9.93
#4223B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4223B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223B2
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223B2#FFFFFF#000000##FFFFFF
##4223B21.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4223b2;
/* rgb */ color: rgb(66, 35, 178);
/* oklch */ color: oklch(40.5% 0.206 282.0);
Tailwind
colors: {
  custom: {
    50: '#8563ca',
    500: '#4223b2',
    950: '#000000',
  },
}
SCSS
$custom: #4223b2;
$custom-light: #8563ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4223b2",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 253.007,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.20616,
    "h": 282
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#4223B2
secondary
#B4C968
accent
#EA3EC5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4223B2

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

Preview Lab → · Contrast checker → · Palette generator →

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