#4025A9#4025A9

#4025A9 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.194 H 282.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4025A9
RGBrgb(64, 37, 169)
HSLhsl(252, 64%, 40%)
HSVhsv(252, 78%, 66%)
CMYKcmyk(62.1%, 78.1%, 0%, 33.7%)
CIE-LABlab(27.51, 47.99, -65.82)
CIE-LCHlch(27.51, 81.46, 306.09°)
OKLaboklab(39.65% 0.0415 -0.1898)
OKLCHoklch(39.65% 0.194 282.3)
XYZxyz(9.9351, 5.2770, 38.0234)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4025A9 #8EA925
analogous
#254CA9 #4025A9 #8225A9
triadic
#4025A9 #A94025 #25A940
tetradic
#4025A9 #A9254C #8EA925 #25A982
square
#4025A9 #A9254C #8EA925 #25A982
split-complementary
#4025A9 #A98225 #4CA925
monochromatic
#1A0F45 #2D1A77 #4025A9 #5838D3 #826ADE

Accessibility & contrast

On white

10.22
#4025A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4025A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4025A9
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4025A9#FFFFFF#000000##FFFFFF
##4025A91.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4025a9;
/* rgb */ color: rgb(64, 37, 169);
/* oklch */ color: oklch(39.7% 0.194 282.3);
Tailwind
colors: {
  custom: {
    50: '#8264c4',
    500: '#4025a9',
    950: '#000000',
  },
}
SCSS
$custom: #4025a9;
$custom-light: #8264c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4025a9",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 252.273,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.19432,
    "h": 282.3
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#4025A9
secondary
#B1C465
accent
#E741C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4025A9

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

Preview Lab → · Contrast checker → · Palette generator →

#4025A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva