#4223A7#4223A7

#4223A7 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.194 H 283.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4223A7
RGBrgb(66, 35, 167)
HSLhsl(254, 65%, 40%)
HSVhsv(254, 79%, 65%)
CMYKcmyk(60.5%, 79%, 0%, 34.5%)
CIE-LABlab(27.16, 48.60, -65.19)
CIE-LCHlch(27.16, 81.31, 306.71°)
OKLaboklab(39.39% 0.0463 -0.1879)
OKLCHoklch(39.39% 0.194 283.8)
XYZxyz(9.8207, 5.1497, 37.0282)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223A7 #88A723
analogous
#2346A7 #4223A7 #8423A7
triadic
#4223A7 #A74223 #23A742
tetradic
#4223A7 #A72346 #88A723 #23A784
square
#4223A7 #A72346 #88A723 #23A784
split-complementary
#4223A7 #A78423 #46A723
monochromatic
#1A0E42 #2E1874 #4223A7 #5933D4 #8266DF

Accessibility & contrast

On white

10.34
#4223A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4223A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223A7
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223A7#FFFFFF#000000##FFFFFF
##4223A71.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4223a7;
/* rgb */ color: rgb(66, 35, 167);
/* oklch */ color: oklch(39.4% 0.194 283.8);
Tailwind
colors: {
  custom: {
    50: '#8363c2',
    500: '#4223a7',
    950: '#000000',
  },
}
SCSS
$custom: #4223a7;
$custom-light: #8363c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4223a7",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 254.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3939,
    "c": 0.19355,
    "h": 283.8
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#4223A7
secondary
#ADC461
accent
#E83FC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4223A7

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

Preview Lab → · Contrast checker → · Palette generator →

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