#4223B4#4223B4

#4223B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.7% C 0.208 H 281.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4223B4
RGBrgb(66, 35, 180)
HSLhsl(253, 67%, 42%)
HSVhsv(253, 81%, 71%)
CMYKcmyk(63.3%, 80.6%, 0%, 29.4%)
CIE-LABlab(28.52, 52.36, -70.74)
CIE-LCHlch(28.52, 88.01, 306.51°)
OKLaboklab(40.75% 0.0423 -0.2041)
OKLCHoklch(40.75% 0.208 281.7)
XYZxyz(11.0834, 5.6548, 43.6786)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223B4 #95B423
analogous
#234CB4 #4223B4 #8B23B4
triadic
#4223B4 #B44223 #23B442
tetradic
#4223B4 #B4234C #95B423 #23B48B
square
#4223B4 #B4234C #95B423 #23B48B
split-complementary
#4223B4 #B48B23 #4CB423
monochromatic
#1C0F4E #2F1981 #4223B4 #5D3BD9 #876EE3

Accessibility & contrast

On white

9.85
#4223B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4223B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223B4
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223B4#FFFFFF#000000##FFFFFF
##4223B41.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4223b4;
/* rgb */ color: rgb(66, 35, 180);
/* oklch */ color: oklch(40.7% 0.208 281.7);
Tailwind
colors: {
  custom: {
    50: '#8663cc',
    500: '#4223b4',
    950: '#000000',
  },
}
SCSS
$custom: #4223b4;
$custom-light: #8663cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4223b4",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 252.828,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.20843,
    "h": 281.7
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#4223B4
secondary
#B5C969
accent
#EA3DC5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4223B4

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

Preview Lab → · Contrast checker → · Palette generator →

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