#4225AE#4225AE

#4225AE is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.200 H 282.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4225AE
RGBrgb(66, 37, 174)
HSLhsl(253, 65%, 41%)
HSVhsv(253, 79%, 68%)
CMYKcmyk(62.1%, 78.7%, 0%, 31.8%)
CIE-LABlab(28.21, 49.69, -67.66)
CIE-LCHlch(28.21, 83.95, 306.29°)
OKLaboklab(40.34% 0.043 -0.1952)
OKLCHoklch(40.34% 0.2 282.4)
XYZxyz(10.5459, 5.5366, 40.5491)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4225AE #91AE25
analogous
#254DAE #4225AE #8725AE
triadic
#4225AE #AE4225 #25AE42
tetradic
#4225AE #AE254D #91AE25 #25AE87
square
#4225AE #AE254D #91AE25 #25AE87
split-complementary
#4225AE #AE8725 #4DAE25
monochromatic
#1C1049 #2F1A7C #4225AE #5C3BD5 #866DE0

Accessibility & contrast

On white

9.96
#4225AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4225AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4225AE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4225AE#FFFFFF#000000##FFFFFF
##4225AE1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4225ae;
/* rgb */ color: rgb(66, 37, 174);
/* oklch */ color: oklch(40.3% 0.200 282.4);
Tailwind
colors: {
  custom: {
    50: '#8464c7',
    500: '#4225ae',
    950: '#000000',
  },
}
SCSS
$custom: #4225ae;
$custom-light: #8464c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4225ae",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 252.701,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.19984,
    "h": 282.4
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#4225AE
secondary
#B3C668
accent
#E840C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4225AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4225AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva