#4225BA#4225BA

#4225BA is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.214 H 280.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4225BA
RGBrgb(66, 37, 186)
HSLhsl(252, 67%, 44%)
HSVhsv(252, 80%, 73%)
CMYKcmyk(64.5%, 80.1%, 0%, 27.1%)
CIE-LABlab(29.48, 53.19, -72.73)
CIE-LCHlch(29.48, 90.10, 306.18°)
OKLaboklab(41.6% 0.0394 -0.2099)
OKLCHoklch(41.6% 0.214 280.6)
XYZxyz(11.7685, 6.0256, 46.9878)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4225BA #9DBA25
analogous
#2552BA #4225BA #8C25BA
triadic
#4225BA #BA4225 #25BA42
tetradic
#4225BA #BA2552 #9DBA25 #25BA8C
square
#4225BA #BA2552 #9DBA25 #25BA8C
split-complementary
#4225BA #BA8C25 #52BA25
monochromatic
#1E1154 #301B87 #4225BA #6043DA #8B76E4

Accessibility & contrast

On white

9.52
#4225BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4225BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4225BA
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4225BA#FFFFFF#000000##FFFFFF
##4225BA1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4225ba;
/* rgb */ color: rgb(66, 37, 186);
/* oklch */ color: oklch(41.6% 0.214 280.6);
Tailwind
colors: {
  custom: {
    50: '#8765d0',
    500: '#4225ba',
    950: '#000000',
  },
}
SCSS
$custom: #4225ba;
$custom-light: #8765d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4225ba",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 251.678,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.21359,
    "h": 280.6
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#4225BA
secondary
#B9CB70
accent
#EA3EC8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4225BA

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

Preview Lab → · Contrast checker → · Palette generator →

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