#4225A5#4225A5

#4225A5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.189 H 283.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4225A5
RGBrgb(66, 37, 165)
HSLhsl(254, 63%, 40%)
HSVhsv(254, 78%, 65%)
CMYKcmyk(60%, 77.6%, 0%, 35.3%)
CIE-LABlab(27.29, 47.05, -63.76)
CIE-LCHlch(27.29, 79.24, 306.42°)
OKLaboklab(39.42% 0.0456 -0.1838)
OKLCHoklch(39.42% 0.189 283.9)
XYZxyz(9.6978, 5.1974, 36.0822)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4225A5 #88A525
analogous
#2548A5 #4225A5 #8225A5
triadic
#4225A5 #A54225 #25A542
tetradic
#4225A5 #A52548 #88A525 #25A582
square
#4225A5 #A52548 #88A525 #25A582
split-complementary
#4225A5 #A58225 #48A525
monochromatic
#1A0F41 #2E1A73 #4225A5 #5935D2 #8267DD

Accessibility & contrast

On white

10.30
#4225A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4225A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4225A5
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4225A5#FFFFFF#000000##FFFFFF
##4225A51.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4225a5;
/* rgb */ color: rgb(66, 37, 165);
/* oklch */ color: oklch(39.4% 0.189 283.9);
Tailwind
colors: {
  custom: {
    50: '#8364c1',
    500: '#4225a5',
    950: '#000000',
  },
}
SCSS
$custom: #4225a5;
$custom-light: #8364c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4225a5",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 253.594,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.18935,
    "h": 283.9
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#4225A5
secondary
#ADC363
accent
#E641C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4225A5

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

Preview Lab → · Contrast checker → · Palette generator →

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