#4223A5#4223A5

#4223A5 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.191 H 284.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4223A5
RGBrgb(66, 35, 165)
HSLhsl(254, 65%, 39%)
HSVhsv(254, 79%, 65%)
CMYKcmyk(60%, 78.8%, 0%, 35.3%)
CIE-LABlab(26.95, 48.02, -64.32)
CIE-LCHlch(26.95, 80.27, 306.74°)
OKLaboklab(39.18% 0.0469 -0.1854)
OKLCHoklch(39.18% 0.191 284.2)
XYZxyz(9.6372, 5.0763, 36.0620)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223A5 #86A523
analogous
#2345A5 #4223A5 #8323A5
triadic
#4223A5 #A54223 #23A542
tetradic
#4223A5 #A52345 #86A523 #23A583
square
#4223A5 #A52345 #86A523 #23A583
split-complementary
#4223A5 #A58323 #45A523
monochromatic
#1A0E40 #2E1873 #4223A5 #5832D3 #8164DE

Accessibility & contrast

On white

10.42
#4223A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4223A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223A5
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223A5#FFFFFF#000000##FFFFFF
##4223A51.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4223a5;
/* rgb */ color: rgb(66, 35, 165);
/* oklch */ color: oklch(39.2% 0.191 284.2);
Tailwind
colors: {
  custom: {
    50: '#8362c1',
    500: '#4223a5',
    950: '#000000',
  },
}
SCSS
$custom: #4223a5;
$custom-light: #8362c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4223a5",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 254.308,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.19123,
    "h": 284.2
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#4223A5
secondary
#ACC460
accent
#E840C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4223A5

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

Preview Lab → · Contrast checker → · Palette generator →

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