#4223B3#4223B3

#4223B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.207 H 281.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4223B3
RGBrgb(66, 35, 179)
HSLhsl(253, 67%, 42%)
HSVhsv(253, 80%, 70%)
CMYKcmyk(63.1%, 80.4%, 0%, 29.8%)
CIE-LABlab(28.42, 52.07, -70.32)
CIE-LCHlch(28.42, 87.50, 306.52°)
OKLaboklab(40.64% 0.0426 -0.2029)
OKLCHoklch(40.64% 0.207 281.9)
XYZxyz(10.9819, 5.6142, 43.1440)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223B3 #94B323
analogous
#234CB3 #4223B3 #8A23B3
triadic
#4223B3 #B34223 #23B342
tetradic
#4223B3 #B3234C #94B323 #23B38A
square
#4223B3 #B3234C #94B323 #23B38A
split-complementary
#4223B3 #B38A23 #4CB323
monochromatic
#1C0F4D #2F1980 #4223B3 #5D3BD9 #876EE3

Accessibility & contrast

On white

9.89
#4223B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4223B3
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223B3#FFFFFF#000000##FFFFFF
##4223B31.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4223b3;
/* rgb */ color: rgb(66, 35, 179);
/* oklch */ color: oklch(40.6% 0.207 281.9);
Tailwind
colors: {
  custom: {
    50: '#8563cb',
    500: '#4223b3',
    950: '#000000',
  },
}
SCSS
$custom: #4223b3;
$custom-light: #8563cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4223b3",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 252.917,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4064,
    "c": 0.2073,
    "h": 281.9
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#4223B3
secondary
#B4C969
accent
#EA3EC5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4223B3

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

Preview Lab → · Contrast checker → · Palette generator →

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