#4225B3#4225B3

#4225B3 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.206 H 281.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4225B3
RGBrgb(66, 37, 179)
HSLhsl(252, 66%, 42%)
HSVhsv(252, 79%, 70%)
CMYKcmyk(63.1%, 79.3%, 0%, 29.8%)
CIE-LABlab(28.73, 51.16, -69.79)
CIE-LCHlch(28.73, 86.53, 306.24°)
OKLaboklab(40.86% 0.0415 -0.2014)
OKLCHoklch(40.86% 0.206 281.7)
XYZxyz(11.0425, 5.7352, 43.1642)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4225B3 #96B325
analogous
#254FB3 #4225B3 #8925B3
triadic
#4225B3 #B34225 #25B342
tetradic
#4225B3 #B3254F #96B325 #25B389
square
#4225B3 #B3254F #96B325 #25B389
split-complementary
#4225B3 #B38925 #4FB325
monochromatic
#1D104E #2F1B80 #4225B3 #5D3ED7 #8871E2

Accessibility & contrast

On white

9.78
#4225B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4225B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4225B3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4225B3#FFFFFF#000000##FFFFFF
##4225B31.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4225b3;
/* rgb */ color: rgb(66, 37, 179);
/* oklch */ color: oklch(40.9% 0.206 281.7);
Tailwind
colors: {
  custom: {
    50: '#8564cb',
    500: '#4225b3',
    950: '#000000',
  },
}
SCSS
$custom: #4225b3;
$custom-light: #8564cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4225b3",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 252.254,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.20561,
    "h": 281.7
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#4225B3
secondary
#B5C86B
accent
#E93FC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4225B3

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

Preview Lab → · Contrast checker → · Palette generator →

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