#4223A3#4223A3

#4223A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.189 H 284.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4223A3
RGBrgb(66, 35, 163)
HSLhsl(255, 65%, 39%)
HSVhsv(255, 79%, 64%)
CMYKcmyk(59.5%, 78.5%, 0%, 36.1%)
CIE-LABlab(26.75, 47.44, -63.45)
CIE-LCHlch(26.75, 79.22, 306.78°)
OKLaboklab(38.98% 0.0475 -0.1828)
OKLCHoklch(38.98% 0.189 284.6)
XYZxyz(9.4566, 5.0041, 35.1108)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223A3 #84A323
analogous
#2344A3 #4223A3 #8223A3
triadic
#4223A3 #A34223 #23A342
tetradic
#4223A3 #A32344 #84A323 #23A382
square
#4223A3 #A32344 #84A323 #23A382
split-complementary
#4223A3 #A38223 #44A323
monochromatic
#190D3E #2E1871 #4223A3 #5831D3 #8163DD

Accessibility & contrast

On white

10.49
#4223A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4223A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223A3
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223A3#FFFFFF#000000##FFFFFF
##4223A31.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#054862
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4223a3;
/* rgb */ color: rgb(66, 35, 163);
/* oklch */ color: oklch(39.0% 0.189 284.6);
Tailwind
colors: {
  custom: {
    50: '#8262bf',
    500: '#4223a3',
    950: '#000000',
  },
}
SCSS
$custom: #4223a3;
$custom-light: #8262bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4223a3",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 254.531,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38981,
    "c": 0.1889,
    "h": 284.6
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#4223A3
secondary
#ABC35F
accent
#E840BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4223A3

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

Preview Lab → · Contrast checker → · Palette generator →

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