#4025A3#4025A3

#4025A3 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.187 H 283.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4025A3
RGBrgb(64, 37, 163)
HSLhsl(253, 63%, 39%)
HSVhsv(253, 77%, 64%)
CMYKcmyk(60.7%, 77.3%, 0%, 36.1%)
CIE-LABlab(26.90, 46.20, -63.21)
CIE-LCHlch(26.90, 78.29, 306.17°)
OKLaboklab(39.04% 0.0431 -0.1822)
OKLCHoklch(39.04% 0.187 283.3)
XYZxyz(9.3847, 5.0568, 35.1248)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4025A3 #88A325
analogous
#2549A3 #4025A3 #7F25A3
triadic
#4025A3 #A34025 #25A340
tetradic
#4025A3 #A32549 #88A325 #25A37F
square
#4025A3 #A32549 #88A325 #25A37F
split-complementary
#4025A3 #A37F25 #49A325
monochromatic
#190E3F #2C1A71 #4025A3 #5634D1 #7F66DC

Accessibility & contrast

On white

10.44
#4025A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4025A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4025A3
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4025A3#FFFFFF#000000##FFFFFF
##4025A31.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4025a3;
/* rgb */ color: rgb(64, 37, 163);
/* oklch */ color: oklch(39.0% 0.187 283.3);
Tailwind
colors: {
  custom: {
    50: '#8163bf',
    500: '#4025a3',
    950: '#000000',
  },
}
SCSS
$custom: #4025a3;
$custom-light: #8163bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4025a3",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 252.857,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.18724,
    "h": 283.3
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#4025A3
secondary
#ADC262
accent
#E642C3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4025A3

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

Preview Lab → · Contrast checker → · Palette generator →

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