#4223A2#4223A2

#4223A2 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.188 H 284.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4223A2
RGBrgb(66, 35, 162)
HSLhsl(255, 64%, 39%)
HSVhsv(255, 78%, 64%)
CMYKcmyk(59.3%, 78.4%, 0%, 36.5%)
CIE-LABlab(26.64, 47.14, -63.01)
CIE-LCHlch(26.64, 78.69, 306.80°)
OKLaboklab(38.88% 0.0478 -0.1815)
OKLCHoklch(38.88% 0.188 284.7)
XYZxyz(9.3674, 4.9684, 34.6408)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223A2 #83A223
analogous
#2343A2 #4223A2 #8123A2
triadic
#4223A2 #A24223 #23A242
tetradic
#4223A2 #A22343 #83A223 #23A281
square
#4223A2 #A22343 #83A223 #23A281
split-complementary
#4223A2 #A28123 #43A223
monochromatic
#190D3D #2D1870 #4223A2 #5830D2 #8062DD

Accessibility & contrast

On white

10.53
#4223A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4223A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223A2
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223A2#FFFFFF#000000##FFFFFF
##4223A21.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#084862
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4223a2;
/* rgb */ color: rgb(66, 35, 162);
/* oklch */ color: oklch(38.9% 0.188 284.7);
Tailwind
colors: {
  custom: {
    50: '#8262bf',
    500: '#4223a2',
    950: '#000000',
  },
}
SCSS
$custom: #4223a2;
$custom-light: #8262bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4223a2",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 254.646,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.18773,
    "h": 284.7
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#4223A2
secondary
#AAC25E
accent
#E740BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4223A2

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

Preview Lab → · Contrast checker → · Palette generator →

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