#4223AF#4223AF

#4223AF is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.2% C 0.203 H 282.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4223AF
RGBrgb(66, 35, 175)
HSLhsl(253, 67%, 41%)
HSVhsv(253, 80%, 69%)
CMYKcmyk(62.3%, 80%, 0%, 31.4%)
CIE-LABlab(27.99, 50.92, -68.63)
CIE-LCHlch(27.99, 85.45, 306.58°)
OKLaboklab(40.22% 0.0439 -0.1979)
OKLCHoklch(40.22% 0.203 282.5)
XYZxyz(10.5832, 5.4547, 41.0443)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223AF #90AF23
analogous
#234AAF #4223AF #8823AF
triadic
#4223AF #AF4223 #23AF42
tetradic
#4223AF #AF234A #90AF23 #23AF88
square
#4223AF #AF234A #90AF23 #23AF88
split-complementary
#4223AF #AF8823 #4AAF23
monochromatic
#1C0F49 #2F197C #4223AF #5B38D7 #856BE1

Accessibility & contrast

On white

10.04
#4223AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4223AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223AF
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223AF#FFFFFF#000000##FFFFFF
##4223AF1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4223af;
/* rgb */ color: rgb(66, 35, 175);
/* oklch */ color: oklch(40.2% 0.203 282.5);
Tailwind
colors: {
  custom: {
    50: '#8563c8',
    500: '#4223af',
    950: '#000000',
  },
}
SCSS
$custom: #4223af;
$custom-light: #8563c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4223af",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 253.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.20274,
    "h": 282.5
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#4223AF
secondary
#B2C766
accent
#EA3EC4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4223AF

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

Preview Lab → · Contrast checker → · Palette generator →

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