#4025B9#4025B9

#4025B9 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.213 H 280.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4025B9
RGBrgb(64, 37, 185)
HSLhsl(251, 67%, 44%)
HSVhsv(251, 80%, 73%)
CMYKcmyk(65.4%, 80%, 0%, 27.5%)
CIE-LABlab(29.20, 52.70, -72.60)
CIE-LCHlch(29.20, 89.71, 305.97°)
OKLaboklab(41.33% 0.0368 -0.2096)
OKLCHoklch(41.33% 0.213 280)
XYZxyz(11.5301, 5.9150, 46.4236)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4025B9 #9EB925
analogous
#2554B9 #4025B9 #8A25B9
triadic
#4025B9 #B94025 #25B940
tetradic
#4025B9 #B92554 #9EB925 #25B98A
square
#4025B9 #B92554 #9EB925 #25B98A
split-complementary
#4025B9 #B98A25 #54B925
monochromatic
#1D1153 #2E1B86 #4025B9 #5E42D9 #8975E3

Accessibility & contrast

On white

9.62
#4025B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4025B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4025B9
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4025B9#FFFFFF#000000##FFFFFF
##4025B91.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABD
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4025b9;
/* rgb */ color: rgb(64, 37, 185);
/* oklch */ color: oklch(41.3% 0.213 280.0);
Tailwind
colors: {
  custom: {
    50: '#8665cf',
    500: '#4025b9',
    950: '#000000',
  },
}
SCSS
$custom: #4025b9;
$custom-light: #8665cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4025b9",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 250.946,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.21282,
    "h": 280
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#4025B9
secondary
#BACB6F
accent
#EA3ECA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4025B9

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

Preview Lab → · Contrast checker → · Palette generator →

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