#4225B5#4225B5

#4225B5 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.208 H 281.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4225B5
RGBrgb(66, 37, 181)
HSLhsl(252, 66%, 43%)
HSVhsv(252, 80%, 71%)
CMYKcmyk(63.5%, 79.6%, 0%, 29%)
CIE-LABlab(28.95, 51.74, -70.64)
CIE-LCHlch(28.95, 87.56, 306.22°)
OKLaboklab(41.07% 0.0409 -0.2038)
OKLCHoklch(41.07% 0.208 281.4)
XYZxyz(11.2462, 5.8167, 44.2372)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4225B5 #98B525
analogous
#2550B5 #4225B5 #8A25B5
triadic
#4225B5 #B54225 #25B542
tetradic
#4225B5 #B52550 #98B525 #25B58A
square
#4225B5 #B52550 #98B525 #25B58A
split-complementary
#4225B5 #B58A25 #50B525
monochromatic
#1D104F #2F1B82 #4225B5 #5E3FD8 #8972E2

Accessibility & contrast

On white

9.71
#4225B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4225B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4225B5
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4225B5#FFFFFF#000000##FFFFFF
##4225B51.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4225b5;
/* rgb */ color: rgb(66, 37, 181);
/* oklch */ color: oklch(41.1% 0.208 281.4);
Tailwind
colors: {
  custom: {
    50: '#8665cd',
    500: '#4225b5',
    950: '#000000',
  },
}
SCSS
$custom: #4225b5;
$custom-light: #8665cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4225b5",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 252.083,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.2079,
    "h": 281.4
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#4225B5
secondary
#B7C96D
accent
#E93FC7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4225B5

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

Preview Lab → · Contrast checker → · Palette generator →

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