#4025AD#4025AD

#4025AD is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.199 H 281.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4025AD
RGBrgb(64, 37, 173)
HSLhsl(252, 65%, 41%)
HSVhsv(252, 79%, 68%)
CMYKcmyk(63%, 78.6%, 0%, 32.2%)
CIE-LABlab(27.92, 49.17, -67.54)
CIE-LCHlch(27.92, 83.55, 306.06°)
OKLaboklab(40.07% 0.0403 -0.1949)
OKLCHoklch(40.07% 0.199 281.7)
XYZxyz(10.3164, 5.4295, 40.0314)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4025AD #92AD25
analogous
#254EAD #4025AD #8425AD
triadic
#4025AD #AD4025 #25AD40
tetradic
#4025AD #AD254E #92AD25 #25AD84
square
#4025AD #AD254E #92AD25 #25AD84
split-complementary
#4025AD #AD8425 #4EAD25
monochromatic
#1B0F48 #2D1A7B #4025AD #593AD5 #846DE0

Accessibility & contrast

On white

10.07
#4025AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4025AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4025AD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4025AD#FFFFFF#000000##FFFFFF
##4025AD1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4025ad;
/* rgb */ color: rgb(64, 37, 173);
/* oklch */ color: oklch(40.1% 0.199 281.7);
Tailwind
colors: {
  custom: {
    50: '#8364c7',
    500: '#4025ad',
    950: '#000000',
  },
}
SCSS
$custom: #4025ad;
$custom-light: #8364c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4025ad",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 251.912,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40065,
    "c": 0.199,
    "h": 281.7
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#4025AD
secondary
#B3C668
accent
#E840C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4025AD

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

Preview Lab → · Contrast checker → · Palette generator →

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